Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 113.8 kB / 17.32 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 201.8 kB / 18.26 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.1 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 66.77 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1304, allocations: 62.45 MB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004446/0.1349, allocations: 3.325 MB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1363, allocations: 0.8219 MB / 483.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1365, allocations: 11.94 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.1367, allocations: 51.55 kB / 483.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.137, allocations: 154.8 kB / 483.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.1373, allocations: 91.86 kB / 483.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005623/0.1378, allocations: 0.5871 MB / 484.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.1381, allocations: 177.5 kB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.1384, allocations: 223.2 kB / 484.9 MB, free: 132 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.1386, allocations: 238.9 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.1387, allocations: 44 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.1388, allocations: 44 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.1389, allocations: 103.6 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.1391, allocations: 270.7 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.1396, allocations: 0.5411 MB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1396, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1396, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.1396, allocations: 3.984 kB / 486.1 MB, free: 14.89 MB / 366.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.001011/0.1406, allocations: 0.7639 MB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1407, allocations: 8.031 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.92e-05/0.1408, allocations: 52.38 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1411, allocations: 318.4 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.1412, allocations: 33.38 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/0.1413, allocations: 56.28 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.1419, allocations: 434.9 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.142, allocations: 11.91 kB / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.142, allocations: 27.98 kB / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.142, allocations: 12 kB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.1425, allocations: 318.3 kB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.1441, allocations: 1.15 MB / 489.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.1448, allocations: 493.1 kB / 489.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.145, allocations: 211 kB / 490 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1451, allocations: 4.438 kB / 490 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1451, allocations: 42.94 kB / 490 MB, free: 10.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.104e-06/0.1451, allocations: 0 / 490 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.002907/0.148, allocations: 2.135 MB / 492.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.1481, allocations: 85.67 kB / 492.3 MB, free: 8.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1484, allocations: 250.9 kB / 492.5 MB, free: 8.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.1484, allocations: 41.7 kB / 492.5 MB, free: 8.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1486, allocations: 213 kB / 492.7 MB, free: 7.871 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.1488, allocations: 260.1 kB / 493 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.149, allocations: 126.6 kB / 493.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1491, allocations: 362.7 kB / 493.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.1494, allocations: 153.9 kB / 493.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.1497, allocations: 278 kB / 493.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/0.1504, allocations: 474.8 kB / 494.4 MB, free: 6.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1504, allocations: 0 / 494.4 MB, free: 6.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008102/0.1512, allocations: 0.5668 MB / 494.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1512, allocations: 4 kB / 494.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1513, allocations: 4 kB / 494.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.1513, allocations: 8.281 kB / 494.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.1519, allocations: 191.7 kB / 495.1 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.1519, allocations: 4 kB / 495.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.1521, allocations: 24 kB / 495.2 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.1522, allocations: 23.94 kB / 495.2 MB, free: 5.336 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.0001952/0.1524, allocations: 186.1 kB / 495.4 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-05/0.1524, allocations: 43.52 kB / 495.4 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.438e-05/0.1525, allocations: 55.66 kB / 495.5 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1526, allocations: 11.98 kB / 495.5 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1526, allocations: 3.938 kB / 495.5 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.1526, allocations: 7.984 kB / 495.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.1545, allocations: 1.45 MB / 496.9 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.1545, allocations: 4 kB / 496.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.1552, allocations: 163.9 kB / 497.1 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.1552, allocations: 11.94 kB / 497.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.1552, allocations: 19.94 kB / 497.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.984e-06/0.1552, allocations: 8.281 kB / 497.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1552, allocations: 8 kB / 497.1 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.1564, allocations: 0.9037 MB / 498.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.1565, allocations: 116.5 kB / 498.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/0.1566, allocations: 23.94 kB / 498.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.1569, allocations: 23.98 kB / 498.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.1569, allocations: 52.3 kB / 498.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.157, allocations: 20 kB / 498.3 MB, free: 2.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1571, allocations: 177.9 kB / 498.5 MB, free: 1.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1571, allocations: 0 / 498.5 MB, free: 1.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004856/0.1576, allocations: 148 kB / 498.6 MB, free: 1.727 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.0001463/0.1578, allocations: 127 kB / 498.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008015/0.1586, allocations: 483.6 kB / 499.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1586, allocations: 0 / 499.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.1589, allocations: 243.4 kB / 499.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009186/0.1598, allocations: 138.1 kB / 499.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.1624, allocations: 1.863 MB / 0.4897 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.1629, allocations: 0.8524 MB / 0.4905 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.1631, allocations: 60.66 kB / 0.4906 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1632, allocations: 39.44 kB / 0.4906 GB, free: 13.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1632, allocations: 0 / 0.4906 GB, free: 13.86 MB / 382.1 MB Notification: Performance of Templates: time 0.0101/0.1733, allocations: 5.275 MB / 0.4958 GB, free: 8.641 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches