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.First.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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009127/0.000913, allocations: 175.9 kB / 17.36 MB, free: 4.316 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.338/1.338, 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.0007567/0.0007568, allocations: 101.5 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002572/0.0002573, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.213, allocations: 47.58 MB / 376.6 MB, free: 45.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002149/0.2152, allocations: 1.978 MB / 378.6 MB, free: 44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.2161, allocations: 0.595 MB / 379.2 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.2163, allocations: 4.375 kB / 379.2 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.2164, allocations: 23.53 kB / 379.2 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.2165, allocations: 71.17 kB / 379.3 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.2167, allocations: 43.09 kB / 379.3 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.217, allocations: 258.6 kB / 379.6 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.2172, allocations: 91.64 kB / 379.7 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.2173, allocations: 96.56 kB / 379.7 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.2175, allocations: 97.78 kB / 379.8 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.2175, allocations: 14 kB / 379.9 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.534e-05/0.2176, allocations: 12.06 kB / 379.9 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.2176, allocations: 41.98 kB / 379.9 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.2177, allocations: 133.3 kB / 380 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2179, allocations: 252.3 kB / 380.3 MB, free: 42.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2179, allocations: 0 / 380.3 MB, free: 42.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.218, allocations: 0 / 380.3 MB, free: 42.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.218, allocations: 0 / 380.3 MB, free: 42.76 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005703/0.2185, allocations: 485.9 kB / 380.8 MB, free: 42.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2186, allocations: 8.875 kB / 380.8 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.2187, allocations: 30.41 kB / 380.8 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.2189, allocations: 241.9 kB / 381 MB, free: 42.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.2189, allocations: 18 kB / 381.1 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.219, allocations: 26.16 kB / 381.1 MB, free: 42.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.2193, allocations: 195.8 kB / 381.3 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2193, allocations: 13.16 kB / 381.3 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.2193, allocations: 6.719 kB / 381.3 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2194, allocations: 5.156 kB / 381.3 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.2196, allocations: 142.2 kB / 381.4 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007948/0.2204, allocations: 0.6306 MB / 382.1 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.2207, allocations: 183.1 kB / 382.2 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.2209, allocations: 96.2 kB / 382.3 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.2209, allocations: 3 kB / 382.3 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.2209, allocations: 35.7 kB / 382.4 MB, free: 41.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.232e-06/0.2209, allocations: 0.8438 kB / 382.4 MB, free: 41.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001714/0.2227, allocations: 1.093 MB / 383.5 MB, free: 40.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.2227, allocations: 58.56 kB / 383.5 MB, free: 40.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.2229, allocations: 184 kB / 383.7 MB, free: 40.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.2229, allocations: 30.89 kB / 383.7 MB, free: 40.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.2229, allocations: 146 kB / 383.9 MB, free: 39.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.223, allocations: 107.7 kB / 384 MB, free: 39.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.223, allocations: 9.375 kB / 384 MB, free: 39.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.2231, allocations: 335.8 kB / 384.3 MB, free: 39.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.2232, allocations: 74.16 kB / 384.4 MB, free: 39.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.2234, allocations: 109.8 kB / 384.5 MB, free: 39.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.2237, allocations: 198.7 kB / 384.7 MB, free: 39.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2237, allocations: 0 / 384.7 MB, free: 39.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004947/0.2242, allocations: 298.6 kB / 385 MB, free: 39.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.2243, allocations: 13.23 kB / 385 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2243, allocations: 1.25 kB / 385 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.2245, allocations: 42.75 kB / 385 MB, free: 39.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.2247, allocations: 61.06 kB / 385.1 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.2259, allocations: 1.563 MB / 386.7 MB, free: 37.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.226, allocations: 12.45 kB / 386.7 MB, free: 37.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.226, allocations: 11.09 kB / 386.7 MB, free: 37.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.844e-05/0.2261, allocations: 136.9 kB / 386.8 MB, free: 37.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.2262, allocations: 22.03 kB / 386.8 MB, free: 37.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.2262, allocations: 41.86 kB / 386.9 MB, free: 37.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2262, allocations: 3.344 kB / 386.9 MB, free: 37.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.2262, allocations: 1.969 kB / 386.9 MB, free: 37.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2262, allocations: 0 / 386.9 MB, free: 37.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009399/0.2272, allocations: 0.7796 MB / 387.7 MB, free: 36.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2272, allocations: 1.062 kB / 387.7 MB, free: 36.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.2275, allocations: 66.38 kB / 387.7 MB, free: 36.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.2276, allocations: 37.61 kB / 387.8 MB, free: 36.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2276, allocations: 6.531 kB / 387.8 MB, free: 36.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007723/0.2284, allocations: 1.382 MB / 389.2 MB, free: 35.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2284, allocations: 1.5 kB / 389.2 MB, free: 35.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.2289, allocations: 497.3 kB / 389.6 MB, free: 34.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.229, allocations: 96.86 kB / 389.7 MB, free: 34.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.229, allocations: 8 kB / 389.7 MB, free: 34.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.2291, allocations: 8 kB / 389.8 MB, free: 34.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.2292, allocations: 27.91 kB / 389.8 MB, free: 34.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.2292, allocations: 8 kB / 389.8 MB, free: 34.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.041e-05/0.2293, allocations: 139.5 kB / 389.9 MB, free: 34.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.2293, allocations: 0 / 389.9 MB, free: 34.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000352/0.2297, allocations: 71.94 kB / 390 MB, free: 34.35 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001022/0.2298, allocations: 103.2 kB / 390.1 MB, free: 34.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004918/0.2303, allocations: 339.4 kB / 390.4 MB, free: 33.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2303, allocations: 0 / 390.4 MB, free: 33.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.2306, allocations: 250.8 kB / 390.7 MB, free: 33.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.231, allocations: 43.92 kB / 390.7 MB, free: 33.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.232, allocations: 0.9139 MB / 391.6 MB, free: 32.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.2322, allocations: 0.7522 MB / 392.4 MB, free: 31.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.441e-05/0.2323, allocations: 22.28 kB / 392.4 MB, free: 31.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.2323, allocations: 27.38 kB / 392.4 MB, free: 31.82 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2323, allocations: 0 / 392.4 MB, free: 31.82 MB / 298.7 MB Notification: Performance of Templates: time 0.004681/0.237, allocations: 2.49 MB / 394.9 MB, free: 29.34 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches