Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001268/0.001268, allocations: 113.1 kB / 17.33 MB, free: 6.008 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.00135/0.00135, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 241.9 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 44.17 MB / 336.2 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 65.91 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1132, allocations: 60.83 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004191/0.1174, allocations: 3.087 MB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.1181, allocations: 410.5 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1183, allocations: 11.94 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.1184, allocations: 59.48 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.1187, allocations: 142.8 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.119, allocations: 83.92 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.1194, allocations: 0.5365 MB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.1197, allocations: 164.7 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.12, allocations: 199.3 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1202, allocations: 215.1 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.1203, allocations: 47.88 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.48e-05/0.1203, allocations: 40 kB / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.436e-05/0.1204, allocations: 91.7 kB / 473.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.1206, allocations: 246.9 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.1211, allocations: 0.5141 MB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1211, allocations: 0 / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1211, allocations: 0 / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1211, allocations: 0 / 474.5 MB, free: 8.891 MB / 350.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.0009299/0.1221, allocations: 0.7136 MB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1221, allocations: 8.031 kB / 475.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.176e-05/0.1222, allocations: 56.36 kB / 475.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.1225, allocations: 291.5 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.1225, allocations: 33.38 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/0.1226, allocations: 56.28 kB / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.1233, allocations: 454.7 kB / 476.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.1233, allocations: 16.03 kB / 476.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.1234, allocations: 23.88 kB / 476.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.1234, allocations: 19.98 kB / 476.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.1238, allocations: 267.6 kB / 476.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.1258, allocations: 1.691 MB / 478.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.1263, allocations: 423.6 kB / 478.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.1264, allocations: 151.7 kB / 478.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1265, allocations: 7.938 kB / 478.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.1265, allocations: 50.48 kB / 478.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.1265, allocations: 0 / 478.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006615/0.1272, allocations: 353.4 kB / 479.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.1273, allocations: 273.5 kB / 479.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.1275, allocations: 246.6 kB / 479.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1276, allocations: 33.7 kB / 479.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.1277, allocations: 247.6 kB / 479.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.1278, allocations: 177.4 kB / 480.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.128, allocations: 114.6 kB / 480.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1281, allocations: 350.8 kB / 480.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.1283, allocations: 125.9 kB / 480.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.1287, allocations: 425.3 kB / 481 MB, free: 1.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.1292, allocations: 0.5776 MB / 481.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.1293, allocations: 4 kB / 481.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007533/0.13, allocations: 0.5673 MB / 482.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.1301, allocations: 8 kB / 482.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.1301, allocations: 12 kB / 482.2 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.1301, allocations: 12 kB / 482.2 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.1306, allocations: 183.6 kB / 482.4 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.1307, allocations: 20.44 kB / 482.4 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.1309, allocations: 67.38 kB / 482.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.131, allocations: 32 kB / 482.5 MB, free: 176 kB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.1312, allocations: 189.6 kB / 482.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.1313, allocations: 35.62 kB / 482.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.225e-05/0.1314, allocations: 41.7 kB / 482.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.1314, allocations: 11.94 kB / 482.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1314, allocations: 3.828 kB / 482.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1314, allocations: 4 kB / 482.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009412/0.1324, allocations: 413.1 kB / 483.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1324, allocations: 8 kB / 483.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.133, allocations: 123.9 kB / 483.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.133, allocations: 4 kB / 483.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.133, allocations: 15.98 kB / 483.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.133, allocations: 12 kB / 483.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.133, allocations: 8 kB / 483.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000799/0.1338, allocations: 1.079 MB / 484.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.134, allocations: 116.6 kB / 484.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.134, allocations: 8 kB / 484.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.1344, allocations: 15.94 kB / 484.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.1345, allocations: 31.95 kB / 484.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1345, allocations: 12 kB / 484.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1347, allocations: 174 kB / 484.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1347, allocations: 0 / 484.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007885/0.1355, allocations: 131.8 kB / 484.9 MB, free: 13.66 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001887/0.1356, allocations: 116.3 kB / 485 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.1362, allocations: 369.7 kB / 485.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1362, allocations: 4.188 kB / 485.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1364, allocations: 136.4 kB / 485.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.1376, allocations: 95.34 kB / 485.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.1412, allocations: 2.133 MB / 487.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.1416, allocations: 0.8352 MB / 488.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.1418, allocations: 48.16 kB / 488.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.1419, allocations: 35.44 kB / 488.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1419, allocations: 0 / 488.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of Templates: time 0.007409/0.1493, allocations: 4.06 MB / 492.7 MB, free: 5.801 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches