Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008767/0.0008766, allocations: 93.72 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008891/0.0008892, allocations: 172.8 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008042/0.0008046, allocations: 12.47 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1039, allocations: 47.57 MB / 329 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00289/0.1069, allocations: 2.032 MB / 331 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1083, allocations: 0.6203 MB / 331.6 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.1085, allocations: 4 kB / 331.6 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.1087, allocations: 23.78 kB / 331.6 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.109, allocations: 63.53 kB / 331.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1093, allocations: 51.89 kB / 331.7 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.1097, allocations: 238.9 kB / 332 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.1099, allocations: 76.73 kB / 332.1 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.1101, allocations: 83.59 kB / 332.1 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.1103, allocations: 103.5 kB / 332.2 MB, free: 476 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.1103, allocations: 12 kB / 332.2 MB, free: 464 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.41e-05/0.1104, allocations: 8 kB / 332.3 MB, free: 456 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.1104, allocations: 35.84 kB / 332.3 MB, free: 420 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.1106, allocations: 129.1 kB / 332.4 MB, free: 284 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.1108, allocations: 227.3 kB / 332.6 MB, free: 56 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1109, allocations: 0 / 332.6 MB, free: 56 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.1109, allocations: 0 / 332.6 MB, free: 56 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1109, allocations: 0 / 332.6 MB, free: 56 kB / 270.1 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.0007777/0.1117, allocations: 495.1 kB / 333.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1117, allocations: 8.031 kB / 333.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.1118, allocations: 24.66 kB / 333.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.1121, allocations: 248.5 kB / 333.4 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1122, allocations: 16.81 kB / 333.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.1122, allocations: 16.38 kB / 333.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.1126, allocations: 222.1 kB / 333.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.1126, allocations: 0 / 333.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.1127, allocations: 12 kB / 333.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1127, allocations: 7.938 kB / 333.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.113, allocations: 129.7 kB / 333.8 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.1142, allocations: 0.7093 MB / 334.5 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.1145, allocations: 157.1 kB / 334.7 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1146, allocations: 80.81 kB / 334.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1147, allocations: 0 / 334.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1147, allocations: 30.56 kB / 334.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.032e-06/0.1147, allocations: 4 kB / 334.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001731/0.1165, allocations: 0.8994 MB / 335.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.1165, allocations: 59.34 kB / 335.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.1167, allocations: 174.7 kB / 335.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.1168, allocations: 29.7 kB / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.1169, allocations: 140.3 kB / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/0.117, allocations: 94.64 kB / 336.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.117, allocations: 29.7 kB / 336.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1171, allocations: 330.8 kB / 336.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1173, allocations: 59.97 kB / 336.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.1175, allocations: 96.27 kB / 336.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.1178, allocations: 176.1 kB / 336.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1178, allocations: 0 / 336.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004973/0.1183, allocations: 262.1 kB / 337.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1183, allocations: 4 kB / 337.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1183, allocations: 4 kB / 337.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/0.1185, allocations: 28.84 kB / 337.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.1187, allocations: 51.91 kB / 337.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.1201, allocations: 1.374 MB / 338.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.1203, allocations: 8 kB / 338.6 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.1203, allocations: 15.94 kB / 338.6 MB, free: 9.617 MB / 286.1 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 0.0001359/0.1204, allocations: 137.8 kB / 338.7 MB, free: 9.473 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.1205, allocations: 19.72 kB / 338.7 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.1206, allocations: 25.86 kB / 338.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1206, allocations: 4 kB / 338.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.1206, allocations: 0 / 338.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1206, allocations: 144 / 338.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009881/0.1216, allocations: 0.6635 MB / 339.4 MB, free: 8.691 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1216, allocations: 0 / 339.4 MB, free: 8.691 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.1218, allocations: 51.91 kB / 339.5 MB, free: 8.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/0.1219, allocations: 36.89 kB / 339.5 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.122, allocations: 8 kB / 339.5 MB, free: 8.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.1231, allocations: 1.378 MB / 340.9 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1231, allocations: 3.938 kB / 340.9 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006379/0.1238, allocations: 414.3 kB / 341.3 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.031e-05/0.1238, allocations: 88.92 kB / 341.4 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.1239, allocations: 8 kB / 341.4 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.124, allocations: 4 kB / 341.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.1241, allocations: 19.97 kB / 341.4 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1241, allocations: 4 kB / 341.4 MB, free: 6.508 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1242, allocations: 128.8 kB / 341.5 MB, free: 6.383 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1242, allocations: 7.938 kB / 341.6 MB, free: 6.375 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003626/0.1246, allocations: 56 kB / 341.6 MB, free: 6.32 MB / 286.1 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.000126/0.1247, allocations: 107.2 kB / 341.7 MB, free: 6.203 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005706/0.1253, allocations: 306.5 kB / 342 MB, free: 5.891 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1253, allocations: 4.062 kB / 342 MB, free: 5.887 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.1256, allocations: 211 kB / 342.2 MB, free: 5.668 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.1261, allocations: 38.95 kB / 342.3 MB, free: 5.633 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.1274, allocations: 0.8484 MB / 343.1 MB, free: 4.758 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1277, allocations: 0.7482 MB / 343.9 MB, free: 3.984 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.275e-05/0.1278, allocations: 17.95 kB / 343.9 MB, free: 3.965 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.1279, allocations: 19.44 kB / 343.9 MB, free: 3.945 MB / 286.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1279, allocations: 0 / 343.9 MB, free: 3.945 MB / 286.1 MB Notification: Performance of Templates: time 0.005849/0.1337, allocations: 2.227 MB / 346.1 MB, free: 1.723 MB / 286.1 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