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.001575/0.001575, allocations: 124.5 kB / 17.79 MB, free: 5.266 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.00181/0.00181, allocations: 211.2 kB / 20.75 MB, free: 2.312 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.1 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.2492/0.2492, allocations: 46.92 MB / 357.1 MB, free: 10.39 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.002047/0.002047, allocations: 63.91 kB / 0.4914 GB, free: 7.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1572, allocations: 65.99 MB / 0.5558 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005449/0.1627, allocations: 3.302 MB / 0.5591 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.1647, allocations: 0.8373 MB / 0.5599 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.1649, allocations: 15.88 kB / 0.5599 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.1652, allocations: 67.25 kB / 0.56 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.1656, allocations: 182.5 kB / 0.5601 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.1658, allocations: 107.8 kB / 0.5602 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006642/0.1665, allocations: 0.5985 MB / 0.5608 GB, free: 292 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.1668, allocations: 133.4 kB / 0.5609 GB, free: 148 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.1671, allocations: 231.2 kB / 0.5612 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.1674, allocations: 242.9 kB / 0.5614 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.1675, allocations: 43.94 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.1676, allocations: 44 kB / 0.5615 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1677, allocations: 99.67 kB / 0.5616 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.168, allocations: 266.8 kB / 0.5618 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007494/0.1688, allocations: 0.5679 MB / 0.5624 GB, free: 14.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1688, allocations: 0 / 0.5624 GB, free: 14.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1688, allocations: 0 / 0.5624 GB, free: 14.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1688, allocations: 3.938 kB / 0.5624 GB, free: 14.66 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.001281/0.1701, allocations: 0.7674 MB / 0.5631 GB, free: 13.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1701, allocations: 8.031 kB / 0.5631 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1702, allocations: 56.61 kB / 0.5632 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.1708, allocations: 330.6 kB / 0.5635 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.1709, allocations: 33.38 kB / 0.5636 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/0.171, allocations: 56.33 kB / 0.5636 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.1717, allocations: 434.9 kB / 0.564 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.1718, allocations: 7.953 kB / 0.564 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.1718, allocations: 20 kB / 0.564 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1718, allocations: 12 kB / 0.5641 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.1724, allocations: 316.4 kB / 0.5644 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.1742, allocations: 1.142 MB / 0.5655 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/0.1751, allocations: 459.4 kB / 0.5659 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.1755, allocations: 194.9 kB / 0.5661 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.1755, allocations: 8.469 kB / 0.5661 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.1755, allocations: 42.98 kB / 0.5661 GB, free: 10.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.505e-06/0.1755, allocations: 0 / 0.5661 GB, free: 10.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.003721/0.1793, allocations: 2.157 MB / 0.5683 GB, free: 8.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.1793, allocations: 85.67 kB / 0.5683 GB, free: 8.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.1797, allocations: 262.9 kB / 0.5686 GB, free: 7.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.1797, allocations: 37.7 kB / 0.5686 GB, free: 7.871 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1799, allocations: 209.4 kB / 0.5688 GB, free: 7.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.1801, allocations: 285.6 kB / 0.5691 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.1803, allocations: 118.6 kB / 0.5692 GB, free: 7.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.1805, allocations: 358.7 kB / 0.5695 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.1808, allocations: 157.9 kB / 0.5697 GB, free: 6.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.1812, allocations: 280.8 kB / 0.57 GB, free: 6.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.1819, allocations: 471 kB / 0.5704 GB, free: 5.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1819, allocations: 0 / 0.5704 GB, free: 5.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009436/0.1829, allocations: 0.5671 MB / 0.571 GB, free: 5.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.1829, allocations: 8 kB / 0.571 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.1829, allocations: 0 / 0.571 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.1829, allocations: 8 kB / 0.571 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.1836, allocations: 179.8 kB / 0.5712 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.1836, allocations: 15.98 kB / 0.5712 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.1839, allocations: 24.28 kB / 0.5712 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.1839, allocations: 27.94 kB / 0.5712 GB, free: 5.113 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.000284/0.1842, allocations: 181.6 kB / 0.5714 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.1843, allocations: 47.72 kB / 0.5714 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.1845, allocations: 59.64 kB / 0.5715 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.1845, allocations: 8 kB / 0.5715 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.1845, allocations: 0 / 0.5715 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.1845, allocations: 3.984 kB / 0.5715 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.1867, allocations: 1.44 MB / 0.5729 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.1867, allocations: 4 kB / 0.5729 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/0.1874, allocations: 155.8 kB / 0.5731 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/0.1874, allocations: 7.938 kB / 0.5731 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.1875, allocations: 23.92 kB / 0.5731 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/0.1875, allocations: 8.344 kB / 0.5731 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.1875, allocations: 8 kB / 0.5731 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.1888, allocations: 0.912 MB / 0.574 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.189, allocations: 120.8 kB / 0.5741 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.189, allocations: 23.94 kB / 0.5741 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.1893, allocations: 16 kB / 0.5742 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.1894, allocations: 56.25 kB / 0.5742 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.1894, allocations: 23.98 kB / 0.5742 GB, free: 1.824 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.1896, allocations: 181.9 kB / 0.5744 GB, free: 1.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1896, allocations: 0 / 0.5744 GB, free: 1.648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005626/0.1902, allocations: 144 kB / 0.5745 GB, free: 1.508 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.0001644/0.1903, allocations: 123.1 kB / 0.5747 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008443/0.1912, allocations: 435.5 kB / 0.5751 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1912, allocations: 0 / 0.5751 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.1916, allocations: 223.4 kB / 0.5753 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.1924, allocations: 135.4 kB / 0.5754 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.1952, allocations: 1.674 MB / 0.5771 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.1958, allocations: 0.8485 MB / 0.5779 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.196, allocations: 60.66 kB / 0.5779 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.1961, allocations: 39.44 kB / 0.578 GB, free: 13.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1961, allocations: 0 / 0.578 GB, free: 13.9 MB / 446.1 MB Notification: Performance of Templates: time 0.01212/0.2082, allocations: 5.516 MB / 0.5834 GB, free: 8.438 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/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: 5.773695480078459]