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.001197/0.001197, allocations: 106.3 kB / 17.98 MB, free: 5.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.001523/0.001523, allocations: 193.3 kB / 18.9 MB, free: 4.469 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.317/1.317, allocations: 222.9 MB / 242.6 MB, free: 13.59 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.1961/0.1961, allocations: 44.18 MB / 336.9 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.52 kB / 408.5 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1205, allocations: 60.84 MB / 469.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004232/0.1248, allocations: 3.091 MB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00071/0.1255, allocations: 418.5 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1257, allocations: 8 kB / 472.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.1258, allocations: 43.62 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.1261, allocations: 154.8 kB / 473.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1264, allocations: 79.92 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.1268, allocations: 0.5365 MB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.1271, allocations: 168.6 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.1273, allocations: 199.2 kB / 474.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1276, allocations: 211.1 kB / 474.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.1276, allocations: 40 kB / 474.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.1277, allocations: 43.94 kB / 474.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.862e-05/0.1278, allocations: 95.69 kB / 474.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.128, allocations: 246.9 kB / 474.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.1284, allocations: 399.3 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1284, allocations: 0 / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1284, allocations: 0 / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1284, allocations: 8 kB / 475.1 MB, free: 8.969 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.0009351/0.1294, allocations: 0.7096 MB / 475.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1294, allocations: 12.02 kB / 475.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.579e-05/0.1295, allocations: 52.38 kB / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1298, allocations: 295.4 kB / 476.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.1299, allocations: 37.38 kB / 476.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/0.13, allocations: 60.28 kB / 476.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.1306, allocations: 454.6 kB / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.1306, allocations: 8.094 kB / 476.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.1307, allocations: 31.94 kB / 476.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1307, allocations: 12 kB / 476.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/0.1311, allocations: 259.6 kB / 477 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.1332, allocations: 1.695 MB / 478.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.1337, allocations: 415.8 kB / 479.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.1339, allocations: 159.6 kB / 479.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1339, allocations: 4 kB / 479.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.134, allocations: 58.48 kB / 479.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.823e-06/0.134, allocations: 0 / 479.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006765/0.1347, allocations: 346.5 kB / 479.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.1348, allocations: 277 kB / 479.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.135, allocations: 250.6 kB / 480.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.1351, allocations: 33.7 kB / 480.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1352, allocations: 243.6 kB / 480.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.1353, allocations: 181.4 kB / 480.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1355, allocations: 114.6 kB / 480.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1356, allocations: 350.8 kB / 481.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.1358, allocations: 121.9 kB / 481.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.1362, allocations: 417.4 kB / 481.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.1368, allocations: 0.5807 MB / 482.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1368, allocations: 4 kB / 482.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007766/0.1376, allocations: 0.5672 MB / 482.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1376, allocations: 8 kB / 482.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.1376, allocations: 12 kB / 482.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.1377, allocations: 12 kB / 482.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.1382, allocations: 184.2 kB / 482.9 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.1382, allocations: 19.94 kB / 483 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.1385, allocations: 63.38 kB / 483 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.1385, allocations: 35.94 kB / 483.1 MB, free: 268 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.0001753/0.1387, allocations: 189.5 kB / 483.3 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.1389, allocations: 35.62 kB / 483.3 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.345e-05/0.139, allocations: 41.78 kB / 483.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.139, allocations: 11.94 kB / 483.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.139, allocations: 0 / 483.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.139, allocations: 7.984 kB / 483.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.14, allocations: 417.1 kB / 483.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.14, allocations: 3.938 kB / 483.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005287/0.1405, allocations: 123.9 kB / 483.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.1406, allocations: 4 kB / 483.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.1406, allocations: 19.98 kB / 483.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.1406, allocations: 11.88 kB / 483.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1406, allocations: 0 / 483.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.1414, allocations: 1.08 MB / 485 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.1415, allocations: 112.6 kB / 485.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.1415, allocations: 12 kB / 485.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.1419, allocations: 19.92 kB / 485.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.142, allocations: 31.91 kB / 485.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.142, allocations: 8 kB / 485.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.1421, allocations: 178 kB / 485.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1422, allocations: 0 / 485.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007848/0.1429, allocations: 131.8 kB / 485.5 MB, free: 13.75 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.0001985/0.1432, allocations: 120.3 kB / 485.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005411/0.1437, allocations: 369.4 kB / 486 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1437, allocations: 0 / 486 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1439, allocations: 127.8 kB / 486.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.1451, allocations: 92.36 kB / 486.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.1479, allocations: 2.162 MB / 488.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.1483, allocations: 0.8352 MB / 489.2 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.1484, allocations: 35.44 kB / 489.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of SimCode: time 2.544e-06/0.1484, allocations: 0 / 489.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of Templates: time 0.007237/0.1556, allocations: 5.031 MB / 494.2 MB, free: 4.914 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