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.00103/0.00103, allocations: 79.75 kB / 21.18 MB, free: 3.379 MB / 18.57 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.0009616/0.0009616, allocations: 161 kB / 24.55 MB, free: 16 kB / 18.57 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 0.998/0.998, allocations: 177.1 MB / 205 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] 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.2434/0.2434, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 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 8.91e-07/8.91e-07, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.393e-05, allocations: 2.312 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003193/0.003207, allocations: 3.286 MB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.004652, allocations: 0.8294 MB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.00487, allocations: 11.94 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.005039, allocations: 75.23 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.005355, allocations: 186.3 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.005599, allocations: 115.8 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.006154, allocations: 0.614 MB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.00641, allocations: 109.9 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.006785, allocations: 359.2 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.00697, allocations: 175.5 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.007019, allocations: 44 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.248e-05/0.007071, allocations: 44 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.007127, allocations: 103.6 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.007264, allocations: 191.6 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.007616, allocations: 386.5 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.00762, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007621, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.007629, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 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.0007658/0.008394, allocations: 0.792 MB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.008431, allocations: 8.031 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.008537, allocations: 96.61 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.008832, allocations: 259.3 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.008859, allocations: 45.31 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/0.008924, allocations: 60.22 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/0.009383, allocations: 352.8 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.009408, allocations: 12.14 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.009434, allocations: 20.36 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.009448, allocations: 15.94 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.009715, allocations: 206.5 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.0108, allocations: 1.005 MB / 387.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.01127, allocations: 334.1 kB / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.01144, allocations: 145.5 kB / 387.8 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.01146, allocations: 12.5 kB / 387.8 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.01149, allocations: 41.89 kB / 387.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/0.01149, allocations: 0 / 387.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.001934/0.01342, allocations: 1.656 MB / 389.5 MB, free: 6.848 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.01346, allocations: 85.61 kB / 389.6 MB, free: 6.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.01363, allocations: 296.1 kB / 389.9 MB, free: 6.441 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.01365, allocations: 37.7 kB / 389.9 MB, free: 6.398 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.01376, allocations: 260 kB / 390.2 MB, free: 6.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.01389, allocations: 277.6 kB / 390.5 MB, free: 5.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.014, allocations: 120.3 kB / 390.6 MB, free: 5.738 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.01415, allocations: 0.5274 MB / 391.1 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.01429, allocations: 93.94 kB / 391.2 MB, free: 5.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.0145, allocations: 258.7 kB / 391.5 MB, free: 4.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.01489, allocations: 392.5 kB / 391.8 MB, free: 4.367 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.01489, allocations: 7.938 kB / 391.8 MB, free: 4.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000503/0.0154, allocations: 0.4889 MB / 392.3 MB, free: 3.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.01541, allocations: 8.781 kB / 392.3 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01542, allocations: 4 kB / 392.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.01544, allocations: 4 kB / 392.4 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.01578, allocations: 179.8 kB / 392.5 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.01579, allocations: 11.94 kB / 392.5 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.01593, allocations: 28.28 kB / 392.6 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.01595, allocations: 20 kB / 392.6 MB, free: 3.613 MB / 362.7 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.0001222/0.01607, allocations: 200.3 kB / 392.8 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.01615, allocations: 79.7 kB / 392.9 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.0162, allocations: 47.62 kB / 392.9 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01621, allocations: 8 kB / 392.9 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.01621, allocations: 3.984 kB / 392.9 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01622, allocations: 0 / 392.9 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.01738, allocations: 1.311 MB / 394.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.01738, allocations: 4 kB / 394.2 MB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.01774, allocations: 163.8 kB / 394.4 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01774, allocations: 4.344 kB / 394.4 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.01777, allocations: 20 kB / 394.4 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.01777, allocations: 4 kB / 394.4 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.01777, allocations: 4 kB / 394.4 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.01847, allocations: 0.9047 MB / 395.3 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.01851, allocations: 47.7 kB / 395.4 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.01854, allocations: 19.98 kB / 395.4 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.01869, allocations: 24 kB / 395.4 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.01873, allocations: 52.28 kB / 395.5 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.01875, allocations: 20 kB / 395.5 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.621e-05/0.01885, allocations: 197.1 kB / 395.7 MB, free: 340 kB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01885, allocations: 0 / 395.7 MB, free: 340 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.01918, allocations: 144 kB / 395.8 MB, free: 196 kB / 362.7 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 9.704e-05/0.01927, allocations: 115.1 kB / 395.9 MB, free: 68 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004111/0.01968, allocations: 370.8 kB / 396.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.01969, allocations: 4 kB / 396.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.01987, allocations: 207.5 kB / 396.5 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.02038, allocations: 140.6 kB / 396.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.022, allocations: 1.384 MB / 398 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.332e-05/0.0221, allocations: 131.3 kB / 398.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.02223, allocations: 56.66 kB / 398.2 MB, free: 13.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.0223, allocations: 44.5 kB / 398.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.0223, allocations: 0 / 398.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of Templates: time 0.007905/0.03021, allocations: 5.356 MB / 403.6 MB, free: 8.391 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3881815429776907]