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.001064/0.001064, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0017/0.002764, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009306/0.0009306, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.002073, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9498/0.9498, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.171/1.121, allocations: 52.48 MB / 238.5 MB, free: 7.641 MB / 234.7 MB " [Timeout remaining time 179] 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.423e-06/1.423e-06, allocations: 0 / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.216e-05, allocations: 2.312 kB / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002604/0.002627, allocations: 2.423 MB / 242.2 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000869/0.003496, allocations: 0.5834 MB / 242.7 MB, free: 3.367 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.003641, allocations: 11.94 kB / 242.8 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.003746, allocations: 34.72 kB / 242.8 MB, free: 3.324 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.003896, allocations: 91.2 kB / 242.9 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.004036, allocations: 51.92 kB / 242.9 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.004284, allocations: 286.5 kB / 243.2 MB, free: 2.902 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.004428, allocations: 73.92 kB / 243.3 MB, free: 2.824 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.004662, allocations: 184.8 kB / 243.5 MB, free: 2.645 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.004781, allocations: 83.72 kB / 243.5 MB, free: 2.562 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.004811, allocations: 20 kB / 243.6 MB, free: 2.543 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.004839, allocations: 21.06 kB / 243.6 MB, free: 2.523 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.004875, allocations: 39.81 kB / 243.6 MB, free: 2.484 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.004931, allocations: 75.88 kB / 243.7 MB, free: 2.41 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.005129, allocations: 158.4 kB / 243.8 MB, free: 2.258 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.005141, allocations: 3.938 kB / 243.9 MB, free: 2.254 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.005142, allocations: 4 kB / 243.9 MB, free: 2.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.005151, allocations: 0 / 243.9 MB, free: 2.25 MB / 234.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.0005008/0.005652, allocations: 487.8 kB / 244.3 MB, free: 1.75 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.005685, allocations: 12.03 kB / 244.3 MB, free: 1.738 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.005734, allocations: 33.88 kB / 244.4 MB, free: 1.707 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.005938, allocations: 163 kB / 244.5 MB, free: 1.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.005951, allocations: 16.88 kB / 244.6 MB, free: 1.504 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.005985, allocations: 28.31 kB / 244.6 MB, free: 1.477 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.006156, allocations: 151.1 kB / 244.7 MB, free: 1.324 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.006167, allocations: 8.125 kB / 244.7 MB, free: 1.316 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.006178, allocations: 8.375 kB / 244.7 MB, free: 1.309 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.006187, allocations: 11.94 kB / 244.8 MB, free: 1.297 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.006258, allocations: 60.11 kB / 244.8 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.006773, allocations: 396.7 kB / 245.2 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.006906, allocations: 118.3 kB / 245.3 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.006955, allocations: 48.83 kB / 245.4 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.006974, allocations: 7.938 kB / 245.4 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.006994, allocations: 34.56 kB / 245.4 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 1.773e-06/0.006996, allocations: 5.469 kB / 245.4 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.001037/0.008033, allocations: 0.7283 MB / 246.1 MB, free: 15.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.00806, allocations: 55.41 kB / 246.2 MB, free: 15.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.008146, allocations: 167.5 kB / 246.4 MB, free: 15.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.008166, allocations: 33.7 kB / 246.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.008215, allocations: 133.7 kB / 246.5 MB, free: 15.42 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.008267, allocations: 115 kB / 246.6 MB, free: 15.31 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.008321, allocations: 58.17 kB / 246.7 MB, free: 15.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.008401, allocations: 330.8 kB / 247 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.008432, allocations: 24.8 kB / 247 MB, free: 14.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/0.008484, allocations: 66.55 kB / 247.1 MB, free: 14.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.008585, allocations: 114.3 kB / 247.2 MB, free: 14.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008587, allocations: 0 / 247.2 MB, free: 14.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001969/0.008784, allocations: 184.2 kB / 247.4 MB, free: 14.51 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.008799, allocations: 4 kB / 247.4 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.008804, allocations: 3.938 kB / 247.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.008929, allocations: 40.77 kB / 247.4 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.009113, allocations: 71.89 kB / 247.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008179/0.009931, allocations: 1.438 MB / 249 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.01, allocations: 8 kB / 249 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.01001, allocations: 8 kB / 249 MB, free: 12.85 MB / 250.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 7.915e-05/0.01009, allocations: 129.7 kB / 249.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.01012, allocations: 23.98 kB / 249.1 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.01015, allocations: 30.64 kB / 249.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01015, allocations: 4.031 kB / 249.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01015, allocations: 4 kB / 249.2 MB, free: 12.65 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01016, allocations: 0 / 249.2 MB, free: 12.65 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.01064, allocations: 0.4896 MB / 249.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01064, allocations: 0 / 249.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.0108, allocations: 63.91 kB / 249.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.01082, allocations: 31.92 kB / 249.7 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.278e-05/0.0109, allocations: 28.84 kB / 249.8 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.01091, allocations: 4 kB / 249.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006178/0.01153, allocations: 1.225 MB / 251 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01153, allocations: 0 / 251 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.01184, allocations: 343.5 kB / 251.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.01185, allocations: 8 kB / 251.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.01192, allocations: 8 kB / 251.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.01197, allocations: 28.08 kB / 251.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.01198, allocations: 4 kB / 251.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.01202, allocations: 44.78 kB / 251.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01202, allocations: 0 / 251.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.01231, allocations: 68 kB / 251.5 MB, free: 10.15 MB / 250.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.0001333/0.01244, allocations: 92.34 kB / 251.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002981/0.01274, allocations: 255.2 kB / 251.8 MB, free: 9.789 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.01275, allocations: 7.938 kB / 251.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.01292, allocations: 227.2 kB / 252.1 MB, free: 9.543 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.01326, allocations: 414.3 kB / 252.5 MB, free: 9.062 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.01651, allocations: 0.5581 MB / 253 MB, free: 8.465 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.917e-05/0.01657, allocations: 88.69 kB / 253.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.01664, allocations: 22.28 kB / 253.1 MB, free: 8.336 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.01674, allocations: 95.36 kB / 253.2 MB, free: 8.242 MB / 250.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01674, allocations: 0 / 253.2 MB, free: 8.242 MB / 250.7 MB Notification: Performance of Templates: time 0.004984/0.02173, allocations: 3.116 MB / 256.3 MB, free: 5.188 MB / 250.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5721903406083584]