Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001194, allocations: 92.56 kB / 18 MB, free: 5.598 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.001329/0.001329, allocations: 182.6 kB / 18.91 MB, free: 4.73 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.439/1.439, allocations: 223.3 MB / 243 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 44.25 MB / 338.3 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.123, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003417/0.1264, allocations: 2.923 MB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1282, allocations: 0.7869 MB / 476.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.1286, allocations: 11.88 kB / 476.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.1288, allocations: 47.56 kB / 476.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.1293, allocations: 154.8 kB / 476.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1296, allocations: 91.92 kB / 476.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.1304, allocations: 0.5753 MB / 477.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.1307, allocations: 142 kB / 477.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.131, allocations: 195.2 kB / 477.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.1314, allocations: 219 kB / 478 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.1314, allocations: 24 kB / 478.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.492e-05/0.1315, allocations: 24 kB / 478.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.894e-05/0.1316, allocations: 83.69 kB / 478.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.1319, allocations: 260.5 kB / 478.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1323, allocations: 406.8 kB / 478.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1323, allocations: 4 kB / 478.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1323, allocations: 0 / 478.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.1323, allocations: 0 / 478.8 MB, free: 7.387 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001048/0.1334, allocations: 0.6783 MB / 479.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1334, allocations: 8.031 kB / 479.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.1336, allocations: 60.38 kB / 479.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.134, allocations: 318.4 kB / 479.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.134, allocations: 33.38 kB / 479.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.1341, allocations: 56.28 kB / 480 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.1348, allocations: 442.9 kB / 480.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.1349, allocations: 15.75 kB / 480.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.1349, allocations: 20 kB / 480.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.1349, allocations: 12 kB / 480.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.1355, allocations: 312.5 kB / 480.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.1371, allocations: 1.154 MB / 481.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.1378, allocations: 484.9 kB / 482.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.1381, allocations: 211 kB / 482.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1382, allocations: 8.438 kB / 482.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1382, allocations: 39.03 kB / 482.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/0.1382, allocations: 0 / 482.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.002964/0.1412, allocations: 2.139 MB / 484.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.1413, allocations: 93.67 kB / 484.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.1415, allocations: 250.9 kB / 485.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.1416, allocations: 37.7 kB / 485.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.1417, allocations: 213 kB / 485.3 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.1419, allocations: 272 kB / 485.6 MB, free: 172 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/0.142, allocations: 69.67 kB / 485.7 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1421, allocations: 362.7 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.1424, allocations: 157.9 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.1428, allocations: 272.9 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.1434, allocations: 470.8 kB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1434, allocations: 0 / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008244/0.1443, allocations: 0.563 MB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.1443, allocations: 11.92 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.1443, allocations: 8.281 kB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.1444, allocations: 4 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/0.1449, allocations: 175.8 kB / 487.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.1449, allocations: 11.94 kB / 487.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.1452, allocations: 28.03 kB / 487.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.1453, allocations: 27.92 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.000193/0.1455, allocations: 181.7 kB / 487.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.1456, allocations: 43.53 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.1457, allocations: 59.64 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.1457, allocations: 8 kB / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.1458, allocations: 0 / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.1458, allocations: 7.984 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.1477, allocations: 1.451 MB / 489.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.1478, allocations: 4.062 kB / 489.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.1484, allocations: 163.8 kB / 489.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.1484, allocations: 8 kB / 489.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.1485, allocations: 20.28 kB / 489.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.1485, allocations: 11.98 kB / 489.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.1485, allocations: 4 kB / 489.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1496, allocations: 0.9075 MB / 490.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.1497, allocations: 116.6 kB / 490.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.1498, allocations: 23.94 kB / 490.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.1501, allocations: 20 kB / 490.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.1502, allocations: 44.38 kB / 490.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.1502, allocations: 23.94 kB / 490.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.1504, allocations: 185.9 kB / 491 MB, free: 10.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1504, allocations: 0 / 491 MB, free: 10.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005199/0.1509, allocations: 148 kB / 491.1 MB, free: 10.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.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 (74): * Single equations (assignments): 74 * 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.0001365/0.151, allocations: 123 kB / 491.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007166/0.1518, allocations: 455.7 kB / 491.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1518, allocations: 0 / 491.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.1521, allocations: 247.3 kB / 492 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009354/0.153, allocations: 118.4 kB / 492.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.1558, allocations: 2.114 MB / 494.2 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.1563, allocations: 0.841 MB / 495 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1564, allocations: 51.44 kB / 495.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1564, allocations: 0 / 495.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of Templates: time 0.0092/0.1656, allocations: 5.864 MB / 0.4892 GB, free: 480 kB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches