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.001298/0.001298, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001094/0.001094, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.356/1.356, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2142/0.2142, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 64.77 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1194, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004276/0.1237, allocations: 3.06 MB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000866/0.1246, allocations: 418.4 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.1248, allocations: 8 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.1249, allocations: 67.23 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.1252, allocations: 166.5 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1255, allocations: 99.88 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.126, allocations: 0.5404 MB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.1263, allocations: 164.6 kB / 474.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.1265, allocations: 203.3 kB / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.1267, allocations: 207.1 kB / 474.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.867e-05/0.1268, allocations: 51.94 kB / 474.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.445e-05/0.1269, allocations: 40 kB / 474.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.127, allocations: 87.7 kB / 475 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.1272, allocations: 250.9 kB / 475.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.1277, allocations: 0.5179 MB / 475.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1277, allocations: 0 / 475.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1277, allocations: 0 / 475.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1277, allocations: 0 / 475.8 MB, free: 8.516 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.001037/0.1288, allocations: 0.7136 MB / 476.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1288, allocations: 12.03 kB / 476.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.129, allocations: 48.38 kB / 476.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.1294, allocations: 295.5 kB / 476.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.1294, allocations: 33.38 kB / 476.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.542e-05/0.1295, allocations: 56.28 kB / 476.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006916/0.1302, allocations: 458.7 kB / 477.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.1303, allocations: 8.094 kB / 477.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.1303, allocations: 27.88 kB / 477.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.1303, allocations: 12 kB / 477.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.1307, allocations: 263.6 kB / 477.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.1329, allocations: 1.695 MB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000491/0.1334, allocations: 419.6 kB / 479.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.1336, allocations: 151.7 kB / 479.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1336, allocations: 11.98 kB / 479.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.1336, allocations: 50.5 kB / 480 MB, free: 3.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.1336, allocations: 0 / 480 MB, free: 3.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007055/0.1344, allocations: 357.6 kB / 480.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.1345, allocations: 273.4 kB / 480.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.1348, allocations: 250.6 kB / 480.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1348, allocations: 33.7 kB / 480.9 MB, free: 3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.135, allocations: 243.6 kB / 481.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.1351, allocations: 185.4 kB / 481.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.1352, allocations: 114.6 kB / 481.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1354, allocations: 354.7 kB / 481.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.1356, allocations: 114 kB / 481.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.136, allocations: 417.4 kB / 482.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006205/0.1366, allocations: 0.5845 MB / 482.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1366, allocations: 0 / 482.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007865/0.1374, allocations: 0.5723 MB / 483.4 MB, free: 140 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1374, allocations: 12 kB / 483.4 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1375, allocations: 8 kB / 483.4 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.1375, allocations: 16 kB / 483.5 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.138, allocations: 179.7 kB / 483.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.821e-05/0.1381, allocations: 19.88 kB / 483.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.1383, allocations: 63.31 kB / 483.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.1384, allocations: 36 kB / 483.7 MB, free: 15.81 MB / 366.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.0001862/0.1386, allocations: 189.6 kB / 483.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.1388, allocations: 35.62 kB / 484 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.688e-05/0.1388, allocations: 41.7 kB / 484 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.1389, allocations: 11.94 kB / 484 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.1389, allocations: 7.938 kB / 484 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.1389, allocations: 3.984 kB / 484 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009919/0.1399, allocations: 413.2 kB / 484.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1399, allocations: 4 kB / 484.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.1405, allocations: 119.9 kB / 484.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1405, allocations: 4 kB / 484.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.1405, allocations: 23.98 kB / 484.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1405, allocations: 7.938 kB / 484.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1405, allocations: 4.062 kB / 484.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007642/0.1413, allocations: 1.079 MB / 485.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.1414, allocations: 112.6 kB / 485.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.1414, allocations: 23.92 kB / 485.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.1418, allocations: 7.938 kB / 485.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.1419, allocations: 27.97 kB / 485.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1419, allocations: 20 kB / 485.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.1421, allocations: 170 kB / 486 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1421, allocations: 0 / 486 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007962/0.1429, allocations: 131.8 kB / 486.2 MB, free: 13.3 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.0001775/0.143, allocations: 115.8 kB / 486.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.1436, allocations: 365 kB / 486.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1436, allocations: 4 kB / 486.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1438, allocations: 128.5 kB / 486.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.145, allocations: 108.7 kB / 486.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.1478, allocations: 1.99 MB / 488.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.1482, allocations: 0.8352 MB / 489.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.1483, allocations: 31.44 kB / 489.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1483, allocations: 4 kB / 489.7 MB, free: 9.645 MB / 366.1 MB Notification: Performance of Templates: time 0.007102/0.1554, allocations: 5.019 MB / 494.7 MB, free: 4.637 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/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