Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 97.3 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000974/0.0009742, allocations: 175.4 kB / 16.56 MB, free: 6.391 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.593/1.593, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3174/0.3174, allocations: 43.54 MB / 314.5 MB, free: 8.711 MB / 254.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.0005061/0.0005062, allocations: 16 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1228, allocations: 58.86 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002912/0.1257, allocations: 2.415 MB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009154/0.1267, allocations: 446.7 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1269, allocations: 11.94 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.328e-05/0.127, allocations: 47.62 kB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.1273, allocations: 175.5 kB / 445.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1275, allocations: 67.92 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000368/0.1278, allocations: 391.2 kB / 446.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.1281, allocations: 125 kB / 446.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1283, allocations: 171.4 kB / 446.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1285, allocations: 195.2 kB / 446.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.527e-05/0.1285, allocations: 24 kB / 446.8 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.504e-05/0.1286, allocations: 24 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.1287, allocations: 71.77 kB / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.437e-05/0.1287, allocations: 117.5 kB / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.1291, allocations: 383.1 kB / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1291, allocations: 3.938 kB / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1291, allocations: 0 / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1291, allocations: 0 / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008486/0.13, allocations: 0.6471 MB / 448 MB, free: 7.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.13, allocations: 8.031 kB / 448 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.902e-05/0.1301, allocations: 51.34 kB / 448.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.1305, allocations: 294 kB / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.1305, allocations: 37 kB / 448.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.1306, allocations: 59.89 kB / 448.5 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/0.1313, allocations: 450.1 kB / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.1313, allocations: 11.91 kB / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.1314, allocations: 20 kB / 448.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.1314, allocations: 16 kB / 448.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/0.1318, allocations: 255.7 kB / 449.2 MB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.1339, allocations: 1.703 MB / 450.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.1344, allocations: 423.7 kB / 451.3 MB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.1344, allocations: 4 kB / 451.3 MB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.503e-05/0.1345, allocations: 50.48 kB / 451.4 MB, free: 4.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.1345, allocations: 0 / 451.4 MB, free: 4.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007344/0.1353, allocations: 349.3 kB / 451.7 MB, free: 3.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/0.1355, allocations: 265 kB / 452 MB, free: 3.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.1358, allocations: 247.1 kB / 452.2 MB, free: 3.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1358, allocations: 33.7 kB / 452.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1359, allocations: 255.5 kB / 452.5 MB, free: 2.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.1361, allocations: 177.4 kB / 452.7 MB, free: 2.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.1361, allocations: 16 kB / 452.7 MB, free: 2.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1362, allocations: 350.8 kB / 453 MB, free: 2.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.1364, allocations: 121.9 kB / 453.1 MB, free: 2.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.1367, allocations: 409.6 kB / 453.5 MB, free: 1.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.137, allocations: 180.8 kB / 453.7 MB, free: 1.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.137, allocations: 4 kB / 453.7 MB, free: 1.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007654/0.1378, allocations: 0.5631 MB / 454.3 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.1378, allocations: 12 kB / 454.3 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.1378, allocations: 8 kB / 454.3 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-05/0.1379, allocations: 16.78 kB / 454.3 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.1384, allocations: 179.7 kB / 454.5 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.1385, allocations: 23.92 kB / 454.5 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.1387, allocations: 67.28 kB / 454.6 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.1388, allocations: 32 kB / 454.6 MB, free: 0.6406 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.1389, allocations: 197.4 kB / 454.8 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.1391, allocations: 35.62 kB / 454.8 MB, free: 412 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.397e-05/0.1392, allocations: 42.33 kB / 454.9 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1392, allocations: 4 kB / 454.9 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.1392, allocations: 4 kB / 454.9 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.1393, allocations: 11.98 kB / 454.9 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1913/0.3306, allocations: 412.5 kB / 455.3 MB, free: 45.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.3306, allocations: 3.844 kB / 455.3 MB, free: 45.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.3312, allocations: 125.3 kB / 455.4 MB, free: 45.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.3312, allocations: 5.781 kB / 455.4 MB, free: 45.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.3313, allocations: 17.5 kB / 455.5 MB, free: 45.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.3313, allocations: 2.594 kB / 455.5 MB, free: 45.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3313, allocations: 2.688 kB / 455.5 MB, free: 45.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.3319, allocations: 1.164 MB / 456.6 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.332, allocations: 115.3 kB / 456.7 MB, free: 44.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.3321, allocations: 10.03 kB / 456.7 MB, free: 44.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.3325, allocations: 8.562 kB / 456.8 MB, free: 44.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.3325, allocations: 41.44 kB / 456.8 MB, free: 44.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.3326, allocations: 14.31 kB / 456.8 MB, free: 44.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.3327, allocations: 170 kB / 457 MB, free: 44.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3327, allocations: 2.297 kB / 457 MB, free: 44.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007928/0.3335, allocations: 134.6 kB / 457.1 MB, free: 44.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001171/0.3336, allocations: 114.1 kB / 457.2 MB, free: 44.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.334, allocations: 344.5 kB / 457.6 MB, free: 44.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.334, allocations: 3.781 kB / 457.6 MB, free: 44.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3342, allocations: 125.4 kB / 457.7 MB, free: 44.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007343/0.3349, allocations: 78.75 kB / 457.8 MB, free: 44.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.337, allocations: 2.443 MB / 460.2 MB, free: 42.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.3373, allocations: 0.8414 MB / 461 MB, free: 41.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.3374, allocations: 48.92 kB / 461.1 MB, free: 41.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.3375, allocations: 35.16 kB / 461.1 MB, free: 41.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3375, allocations: 0 / 461.1 MB, free: 41.65 MB / 382.1 MB Notification: Performance of Templates: time 0.005827/0.3433, allocations: 3.719 MB / 464.8 MB, free: 41.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches