Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 119.4 kB / 18.46 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 209.6 kB / 21.42 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 46.93 MB / 357.8 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 71.89 kB / 0.4921 GB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1271, allocations: 65.99 MB / 0.5565 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00452/0.1316, allocations: 3.292 MB / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.133, allocations: 0.8335 MB / 0.5605 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.1332, allocations: 11.88 kB / 0.5605 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.1334, allocations: 75.23 kB / 0.5606 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1337, allocations: 174.5 kB / 0.5608 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.134, allocations: 115.8 kB / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.1345, allocations: 0.5947 MB / 0.5615 GB, free: 212 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.1348, allocations: 125.4 kB / 0.5616 GB, free: 76 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.135, allocations: 235.2 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.1353, allocations: 238.9 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.569e-05/0.1354, allocations: 44 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.988e-05/0.1355, allocations: 51.94 kB / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.885e-05/0.1355, allocations: 103.7 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.1358, allocations: 266.7 kB / 0.5625 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.1364, allocations: 0.5601 MB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1364, allocations: 0 / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1364, allocations: 7.938 kB / 0.563 GB, free: 14.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1364, allocations: 0 / 0.563 GB, free: 14.58 MB / 430.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.001133/0.1375, allocations: 0.7674 MB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1375, allocations: 12.03 kB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.1376, allocations: 56.61 kB / 0.5639 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.1381, allocations: 322.6 kB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.1381, allocations: 37.38 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.1382, allocations: 56.31 kB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006661/0.1389, allocations: 438.9 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.1389, allocations: 15.94 kB / 0.5647 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.139, allocations: 16 kB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.139, allocations: 12 kB / 0.5647 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.1395, allocations: 316.5 kB / 0.565 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.1411, allocations: 1.142 MB / 0.5661 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007462/0.1418, allocations: 463.3 kB / 0.5666 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.1421, allocations: 191 kB / 0.5668 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1422, allocations: 8.469 kB / 0.5668 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1422, allocations: 39 kB / 0.5668 GB, free: 10.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 1.763e-06/0.1422, allocations: 0 / 0.5668 GB, free: 10.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.002999/0.1452, allocations: 2.154 MB / 0.5689 GB, free: 8.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.1453, allocations: 89.61 kB / 0.569 GB, free: 8.098 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.1455, allocations: 258.9 kB / 0.5692 GB, free: 7.836 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.1455, allocations: 37.7 kB / 0.5693 GB, free: 7.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.1457, allocations: 213.4 kB / 0.5695 GB, free: 7.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.1459, allocations: 285.6 kB / 0.5698 GB, free: 7.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.1461, allocations: 118.6 kB / 0.5699 GB, free: 7.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1462, allocations: 358.7 kB / 0.5702 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.1465, allocations: 161.9 kB / 0.5704 GB, free: 6.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.1468, allocations: 280.9 kB / 0.5706 GB, free: 6.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006418/0.1475, allocations: 462.8 kB / 0.5711 GB, free: 5.867 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1475, allocations: 4 kB / 0.5711 GB, free: 5.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008422/0.1483, allocations: 0.5724 MB / 0.5716 GB, free: 5.285 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.1484, allocations: 4 kB / 0.5716 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1484, allocations: 4 kB / 0.5716 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.1484, allocations: 8 kB / 0.5717 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.149, allocations: 179.8 kB / 0.5718 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.149, allocations: 11.92 kB / 0.5718 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.1493, allocations: 27.98 kB / 0.5719 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.1494, allocations: 27.94 kB / 0.5719 GB, free: 5.027 MB / 430.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.0002555/0.1496, allocations: 181.8 kB / 0.5721 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1497, allocations: 47.72 kB / 0.5721 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.1499, allocations: 55.64 kB / 0.5722 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.1499, allocations: 8 kB / 0.5722 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.1499, allocations: 4 kB / 0.5722 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.1499, allocations: 3.984 kB / 0.5722 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.152, allocations: 1.448 MB / 0.5736 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.152, allocations: 0 / 0.5736 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.1527, allocations: 159.8 kB / 0.5737 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.1527, allocations: 4 kB / 0.5737 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.1527, allocations: 23.94 kB / 0.5738 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.1527, allocations: 8 kB / 0.5738 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1527, allocations: 0 / 0.5738 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.1538, allocations: 0.92 MB / 0.5747 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.1539, allocations: 120.8 kB / 0.5748 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.154, allocations: 23.92 kB / 0.5748 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.1543, allocations: 16 kB / 0.5748 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.1544, allocations: 52.38 kB / 0.5749 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.1544, allocations: 20 kB / 0.5749 GB, free: 1.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1546, allocations: 185.9 kB / 0.5751 GB, free: 1.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1546, allocations: 0 / 0.5751 GB, free: 1.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005236/0.1551, allocations: 140 kB / 0.5752 GB, free: 1.426 MB / 430.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.0001536/0.1552, allocations: 123.1 kB / 0.5753 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006998/0.1559, allocations: 447.6 kB / 0.5758 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1559, allocations: 0 / 0.5758 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.1562, allocations: 218.2 kB / 0.576 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008123/0.157, allocations: 123.7 kB / 0.5761 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.1596, allocations: 1.719 MB / 0.5778 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.1601, allocations: 0.8447 MB / 0.5786 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1602, allocations: 47.44 kB / 0.5786 GB, free: 13.83 MB / 446.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1602, allocations: 0 / 0.5786 GB, free: 13.83 MB / 446.1 MB Notification: Performance of Templates: time 0.009797/0.17, allocations: 6.057 MB / 0.5845 GB, free: 7.793 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.64906173502095]