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.001064/0.001064, allocations: 107 kB / 17.33 MB, free: 6 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.001196/0.001196, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.378/1.378, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2048/0.2048, allocations: 44.17 MB / 336.2 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 62.69 kB / 407.9 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 60.84 MB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004559/0.1235, allocations: 3.297 MB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1251, allocations: 0.7946 MB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.1253, allocations: 11.94 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.1256, allocations: 47.55 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.1259, allocations: 154.8 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1261, allocations: 95.86 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005361/0.1267, allocations: 0.5911 MB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.127, allocations: 173.5 kB / 473.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.1272, allocations: 223.1 kB / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.1275, allocations: 242.9 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.1276, allocations: 40 kB / 474.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.1276, allocations: 44 kB / 474.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.184e-05/0.1277, allocations: 107.5 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.128, allocations: 262.8 kB / 474.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.1285, allocations: 0.5488 MB / 475.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1286, allocations: 0 / 475.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1286, allocations: 4 kB / 475.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1286, allocations: 0 / 475.3 MB, free: 8.113 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.001136/0.1297, allocations: 0.7639 MB / 476.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1298, allocations: 8.031 kB / 476.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.1299, allocations: 56.38 kB / 476.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.1303, allocations: 314.5 kB / 476.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.1303, allocations: 37.38 kB / 476.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/0.1304, allocations: 56.27 kB / 476.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.1311, allocations: 434.9 kB / 477 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.1312, allocations: 15.91 kB / 477 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.1312, allocations: 16 kB / 477 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1312, allocations: 12 kB / 477 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.1317, allocations: 324.4 kB / 477.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.1334, allocations: 1.146 MB / 478.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.1341, allocations: 488.9 kB / 479 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.1344, allocations: 219.1 kB / 479.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.1345, allocations: 4.438 kB / 479.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1345, allocations: 42.94 kB / 479.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.064e-06/0.1345, allocations: 0 / 479.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.003031/0.1375, allocations: 2.127 MB / 481.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.1376, allocations: 89.67 kB / 481.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.1379, allocations: 258.9 kB / 481.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.138, allocations: 37.7 kB / 481.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1381, allocations: 213 kB / 481.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.1383, allocations: 264.1 kB / 482.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1385, allocations: 126.6 kB / 482.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1387, allocations: 358.7 kB / 482.7 MB, free: 344 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.139, allocations: 157.9 kB / 482.8 MB, free: 188 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.1394, allocations: 284.8 kB / 483.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/0.14, allocations: 460.1 kB / 483.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.1401, allocations: 8 kB / 483.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008432/0.1409, allocations: 0.5668 MB / 484.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.1409, allocations: 4 kB / 484.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.141, allocations: 4 kB / 484.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.141, allocations: 11.98 kB / 484.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.1416, allocations: 175.7 kB / 484.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.1417, allocations: 8.281 kB / 484.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.142, allocations: 31.98 kB / 484.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.142, allocations: 27.94 kB / 484.4 MB, free: 14.54 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.0002791/0.1423, allocations: 181.6 kB / 484.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1424, allocations: 43.53 kB / 484.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.1425, allocations: 51.64 kB / 484.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1425, allocations: 8 kB / 484.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.1426, allocations: 8 kB / 484.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.1426, allocations: 3.984 kB / 484.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.1448, allocations: 1.457 MB / 486.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.1448, allocations: 8.062 kB / 486.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/0.1454, allocations: 155.8 kB / 486.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.1455, allocations: 8 kB / 486.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.1455, allocations: 23.94 kB / 486.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.1455, allocations: 7.938 kB / 486.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.1455, allocations: 7.984 kB / 486.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.1466, allocations: 0.9041 MB / 487.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.1467, allocations: 116.5 kB / 487.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/0.1467, allocations: 27.92 kB / 487.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.147, allocations: 16 kB / 487.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.1471, allocations: 48.31 kB / 487.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.1471, allocations: 31.94 kB / 487.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.1473, allocations: 177.9 kB / 487.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1473, allocations: 0 / 487.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.1478, allocations: 148 kB / 487.8 MB, free: 10.95 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.0001489/0.148, allocations: 127 kB / 487.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009261/0.1489, allocations: 479.6 kB / 488.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1489, allocations: 7.875 kB / 488.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.1492, allocations: 239.3 kB / 488.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/0.1502, allocations: 130.4 kB / 488.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.153, allocations: 1.863 MB / 490.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.1535, allocations: 0.8407 MB / 491.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002204/0.1537, allocations: 60.66 kB / 491.5 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.1538, allocations: 43.44 kB / 491.5 MB, free: 7.082 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1538, allocations: 0 / 491.5 MB, free: 7.082 MB / 366.1 MB Notification: Performance of Templates: time 0.01027/0.1641, allocations: 5.283 MB / 496.8 MB, free: 1.859 MB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/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