Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007292/0.0007292, allocations: 86.77 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003007, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2094, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002418/0.2118, allocations: 1.973 MB / 378.6 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.2128, allocations: 0.5999 MB / 379.2 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.2129, allocations: 7.438 kB / 379.2 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.2131, allocations: 20.12 kB / 379.2 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.2132, allocations: 62.64 kB / 379.3 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.2134, allocations: 46.56 kB / 379.3 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.2136, allocations: 245 kB / 379.5 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2138, allocations: 70.5 kB / 379.6 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.2139, allocations: 83.5 kB / 379.7 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.214, allocations: 103.6 kB / 379.8 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.2141, allocations: 10.84 kB / 379.8 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.293e-05/0.2141, allocations: 10.25 kB / 379.8 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.2141, allocations: 38.64 kB / 379.9 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.374e-05/0.2142, allocations: 131 kB / 380 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.2144, allocations: 224.8 kB / 380.2 MB, free: 42.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2144, allocations: 0 / 380.2 MB, free: 42.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2145, allocations: 4.875 kB / 380.2 MB, free: 42.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.2145, allocations: 0 / 380.2 MB, free: 42.86 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.00057/0.215, allocations: 491.8 kB / 380.7 MB, free: 42.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2151, allocations: 9 kB / 380.7 MB, free: 42.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.2152, allocations: 29.59 kB / 380.7 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.2154, allocations: 239.3 kB / 381 MB, free: 42.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.2154, allocations: 13.75 kB / 381 MB, free: 42.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.2154, allocations: 21.25 kB / 381 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.2158, allocations: 215.5 kB / 381.2 MB, free: 41.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2158, allocations: 1.594 kB / 381.2 MB, free: 41.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2158, allocations: 10.34 kB / 381.2 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2158, allocations: 5.125 kB / 381.2 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.2161, allocations: 132.6 kB / 381.3 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008296/0.2169, allocations: 0.7171 MB / 382.1 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.2172, allocations: 150.6 kB / 382.2 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.2173, allocations: 69.14 kB / 382.3 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.2173, allocations: 2.75 kB / 382.3 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.2173, allocations: 43.95 kB / 382.3 MB, free: 41.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.2174, allocations: 0 / 382.3 MB, free: 41.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001332/0.2187, allocations: 0.8888 MB / 383.2 MB, free: 40.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.2187, allocations: 57.72 kB / 383.3 MB, free: 40.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.2189, allocations: 180.9 kB / 383.4 MB, free: 40.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.2189, allocations: 30.64 kB / 383.5 MB, free: 40.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.219, allocations: 141.8 kB / 383.6 MB, free: 40.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.219, allocations: 90.39 kB / 383.7 MB, free: 39.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.219, allocations: 4 kB / 383.7 MB, free: 39.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.2191, allocations: 331.5 kB / 384 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.2192, allocations: 59.97 kB / 384.1 MB, free: 39.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.2193, allocations: 99.39 kB / 384.2 MB, free: 39.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.2196, allocations: 169 kB / 384.4 MB, free: 39.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2196, allocations: 1.188 kB / 384.4 MB, free: 39.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003881/0.22, allocations: 261.7 kB / 384.6 MB, free: 39.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.22, allocations: 6.125 kB / 384.6 MB, free: 39.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.22, allocations: 1.312 kB / 384.6 MB, free: 39.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.2202, allocations: 29.47 kB / 384.6 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.2204, allocations: 51.84 kB / 384.7 MB, free: 39.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008116/0.2212, allocations: 1.377 MB / 386.1 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2213, allocations: 8.344 kB / 386.1 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2214, allocations: 15.16 kB / 386.1 MB, free: 37.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.421e-05/0.2215, allocations: 131.4 kB / 386.2 MB, free: 37.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.2215, allocations: 20.28 kB / 386.2 MB, free: 37.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.2215, allocations: 30.11 kB / 386.3 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2216, allocations: 6.062 kB / 386.3 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2216, allocations: 1.188 kB / 386.3 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2216, allocations: 0 / 386.3 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007669/0.2224, allocations: 0.6593 MB / 386.9 MB, free: 37.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2224, allocations: 1.156 kB / 386.9 MB, free: 37.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.2226, allocations: 51.5 kB / 387 MB, free: 37.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.2227, allocations: 41.36 kB / 387 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2227, allocations: 1.125 kB / 387 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007432/0.2235, allocations: 1.382 MB / 388.4 MB, free: 35.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2235, allocations: 4.969 kB / 388.4 MB, free: 35.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.224, allocations: 412.4 kB / 388.8 MB, free: 35.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.224, allocations: 94.3 kB / 388.9 MB, free: 35.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.2241, allocations: 6.188 kB / 388.9 MB, free: 35.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2242, allocations: 7.938 kB / 388.9 MB, free: 35.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.2243, allocations: 20.52 kB / 388.9 MB, free: 35.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2243, allocations: 4.531 kB / 389 MB, free: 35.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.69e-05/0.2244, allocations: 122.6 kB / 389.1 MB, free: 35.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2244, allocations: 5.938 kB / 389.1 MB, free: 35.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003111/0.2247, allocations: 56.94 kB / 389.1 MB, free: 35.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.2248, allocations: 114 kB / 389.2 MB, free: 35.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004872/0.2253, allocations: 304.2 kB / 389.5 MB, free: 34.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2253, allocations: 0 / 389.5 MB, free: 34.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.2256, allocations: 218.5 kB / 389.8 MB, free: 34.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.226, allocations: 34.8 kB / 389.8 MB, free: 34.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009723/0.227, allocations: 0.8486 MB / 390.6 MB, free: 33.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.2271, allocations: 0.7482 MB / 391.4 MB, free: 32.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.2272, allocations: 21.94 kB / 391.4 MB, free: 32.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.2272, allocations: 19.44 kB / 391.4 MB, free: 32.85 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2272, allocations: 0 / 391.4 MB, free: 32.85 MB / 298.7 MB Notification: Performance of Templates: time 0.004352/0.2316, allocations: 2.213 MB / 393.6 MB, free: 30.64 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches