Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002644/0.002644, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00281/0.00281, allocations: 153.1 kB / 24.27 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.781e-05, allocations: 2.312 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004017/0.004045, allocations: 2.368 MB / 269.7 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.005156, allocations: 0.5648 MB / 270.2 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.005262, allocations: 8 kB / 270.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.005425, allocations: 39.58 kB / 270.3 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.005609, allocations: 83.27 kB / 270.4 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.005802, allocations: 51.92 kB / 270.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.00615, allocations: 282.5 kB / 270.7 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.006333, allocations: 72.19 kB / 270.8 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.006603, allocations: 175.5 kB / 270.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.006761, allocations: 79.78 kB / 271 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.006805, allocations: 24 kB / 271 MB, free: 3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.41e-05/0.006849, allocations: 20 kB / 271.1 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.006907, allocations: 51.77 kB / 271.1 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.007021, allocations: 83.81 kB / 271.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.007399, allocations: 271.1 kB / 271.4 MB, free: 2.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.007402, allocations: 0 / 271.4 MB, free: 2.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007403, allocations: 0 / 271.4 MB, free: 2.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.007408, allocations: 0 / 271.4 MB, free: 2.582 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008473/0.008255, allocations: 0.5621 MB / 272 MB, free: 1.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.00829, allocations: 8.031 kB / 272 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.008396, allocations: 44.8 kB / 272.1 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.008699, allocations: 188.9 kB / 272.2 MB, free: 1.715 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.008725, allocations: 16.88 kB / 272.3 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.008768, allocations: 20.38 kB / 272.3 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.009141, allocations: 192.6 kB / 272.5 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.009158, allocations: 192 / 272.5 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.00918, allocations: 8.375 kB / 272.5 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.00919, allocations: 11.94 kB / 272.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.009487, allocations: 129.9 kB / 272.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.01052, allocations: 0.5913 MB / 273.2 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.01087, allocations: 182.9 kB / 273.4 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.01105, allocations: 95.62 kB / 273.5 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.01107, allocations: 4 kB / 273.5 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.01111, allocations: 41.39 kB / 273.5 MB, free: 376 kB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/0.01111, allocations: 0 / 273.5 MB, free: 376 kB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.002244/0.01335, allocations: 0.946 MB / 274.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.01341, allocations: 55.41 kB / 274.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.01364, allocations: 231.5 kB / 274.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.01368, allocations: 37.7 kB / 274.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.01382, allocations: 183.5 kB / 275 MB, free: 14.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.01394, allocations: 131 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.01405, allocations: 63.36 kB / 275.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003004/0.01435, allocations: 0.5157 MB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.0145, allocations: 67.97 kB / 275.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.01471, allocations: 122.8 kB / 275.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.01507, allocations: 208.6 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01507, allocations: 0 / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005748/0.01565, allocations: 306.1 kB / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.01567, allocations: 7.938 kB / 276.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01567, allocations: 4 kB / 276.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.01589, allocations: 47.66 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.01615, allocations: 59.91 kB / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.01831, allocations: 2.231 MB / 278.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.01842, allocations: 8 kB / 278.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.01844, allocations: 8 kB / 278.7 MB, free: 10.89 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.01864, allocations: 184.5 kB / 278.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.01871, allocations: 31.86 kB / 278.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.724e-05/0.01879, allocations: 34.64 kB / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.01879, allocations: 4 kB / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.0188, allocations: 3.969 kB / 279 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.01881, allocations: 4 kB / 279 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.02013, allocations: 0.7723 MB / 279.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.02013, allocations: 4 kB / 279.8 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.0204, allocations: 63.84 kB / 279.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.02054, allocations: 39.75 kB / 279.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.02056, allocations: 8 kB / 279.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.02249, allocations: 1.893 MB / 281.8 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.02249, allocations: 3.984 kB / 281.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.0233, allocations: 0.5413 MB / 282.3 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.02334, allocations: 23.91 kB / 282.3 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.02337, allocations: 8 kB / 282.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.0235, allocations: 7.984 kB / 282.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.02357, allocations: 31.89 kB / 282.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.02358, allocations: 4 kB / 282.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.02373, allocations: 175.4 kB / 282.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02373, allocations: 0 / 282.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.02411, allocations: 68 kB / 282.6 MB, free: 6.754 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.02425, allocations: 107.2 kB / 282.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007267/0.02498, allocations: 406 kB / 283.1 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02498, allocations: 0 / 283.1 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.02541, allocations: 313.3 kB / 283.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.02583, allocations: 52.16 kB / 283.5 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.02706, allocations: 0.6541 MB / 284.1 MB, free: 5.145 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.02723, allocations: 146.6 kB / 284.3 MB, free: 4.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.494e-05/0.0273, allocations: 22.28 kB / 284.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.02736, allocations: 20.5 kB / 284.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02736, allocations: 0 / 284.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of Templates: time 0.007301/0.03466, allocations: 2.716 MB / 287 MB, free: 2.258 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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: 4.529919772990979]