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.0009594/0.0009594, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0008584/0.0008584, allocations: 139.6 kB / 24.97 MB, free: 8.77 MB / 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 0.8917/0.8917, allocations: 173.4 MB / 201.5 MB, free: 9.32 MB / 186.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.313e-06/1.313e-06, allocations: 0 / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.803e-05, allocations: 6.25 kB / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002607/0.002625, allocations: 2.391 MB / 270.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007475/0.003373, allocations: 0.5765 MB / 271 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.003482, allocations: 7.938 kB / 271 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.003612, allocations: 31.66 kB / 271.1 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.003732, allocations: 83.27 kB / 271.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.003914, allocations: 59.8 kB / 271.2 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.004141, allocations: 274.6 kB / 271.5 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.0043, allocations: 80.12 kB / 271.5 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.004463, allocations: 163.6 kB / 271.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.004573, allocations: 83.77 kB / 271.8 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.004605, allocations: 20 kB / 271.8 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.325e-05/0.004628, allocations: 23.94 kB / 271.8 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.004664, allocations: 47.83 kB / 271.9 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.633e-05/0.00473, allocations: 83.77 kB / 272 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.004933, allocations: 175.3 kB / 272.1 MB, free: 2.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004935, allocations: 0 / 272.1 MB, free: 2.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004936, allocations: 0 / 272.1 MB, free: 2.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.004941, allocations: 4 kB / 272.1 MB, free: 2.621 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.000529/0.00547, allocations: 0.5507 MB / 272.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.005505, allocations: 12.03 kB / 272.7 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.005568, allocations: 40.8 kB / 272.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.005763, allocations: 192.9 kB / 272.9 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.005777, allocations: 12.88 kB / 272.9 MB, free: 1.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.005815, allocations: 20.38 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.006029, allocations: 165.4 kB / 273.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.006043, allocations: 8.172 kB / 273.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.006059, allocations: 12.31 kB / 273.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.006069, allocations: 11.94 kB / 273.2 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.006191, allocations: 78.92 kB / 273.2 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.006793, allocations: 0.5405 MB / 273.8 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.006975, allocations: 134.1 kB / 273.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/0.007067, allocations: 75.09 kB / 274 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.007084, allocations: 8 kB / 274 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.007108, allocations: 41.39 kB / 274 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.00711, allocations: 0 / 274 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001146/0.008255, allocations: 0.7965 MB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.008284, allocations: 55.41 kB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.008402, allocations: 218.8 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.008417, allocations: 29.7 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.00849, allocations: 195.5 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.008546, allocations: 119 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.008604, allocations: 59.36 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.008716, allocations: 0.5 MB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.00878, allocations: 39.97 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.008865, allocations: 86.8 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.009029, allocations: 144.7 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.00903, allocations: 0 / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004263/0.009457, allocations: 238.1 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.009472, allocations: 7.938 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.009481, allocations: 3.984 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.009641, allocations: 35.67 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.009798, allocations: 59.91 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.01083, allocations: 2.118 MB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.01089, allocations: 8.188 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.01091, allocations: 19.94 kB / 278.7 MB, free: 11.62 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 8.96e-05/0.011, allocations: 168.6 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.01103, allocations: 31.86 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.01106, allocations: 26.66 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01106, allocations: 4 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.01107, allocations: 11.97 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.01108, allocations: 11.86 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.01168, allocations: 0.663 MB / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.01169, allocations: 7.984 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.01183, allocations: 51.97 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-05/0.01191, allocations: 39.7 kB / 279.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01193, allocations: 4 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007021/0.01263, allocations: 1.818 MB / 281.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01263, allocations: 4 kB / 281.6 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.01298, allocations: 446.3 kB / 282 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.013, allocations: 19.94 kB / 282 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.01301, allocations: 4 kB / 282 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.498e-05/0.01308, allocations: 8 kB / 282 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.01313, allocations: 27.89 kB / 282.1 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.01314, allocations: 8 kB / 282.1 MB, free: 8.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.008e-05/0.0132, allocations: 159.1 kB / 282.2 MB, free: 7.879 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0132, allocations: 0 / 282.2 MB, free: 7.879 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.01343, allocations: 68 kB / 282.3 MB, free: 7.812 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 8.066e-05/0.01351, allocations: 115.1 kB / 282.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003618/0.01387, allocations: 349.7 kB / 282.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01387, allocations: 0 / 282.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.01405, allocations: 281.3 kB / 283 MB, free: 7.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.01432, allocations: 59.12 kB / 283.1 MB, free: 6.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.01535, allocations: 0.6267 MB / 283.7 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.0154, allocations: 88.69 kB / 283.8 MB, free: 6.199 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.391e-05/0.01545, allocations: 26.27 kB / 283.8 MB, free: 6.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.01549, allocations: 24.5 kB / 283.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01549, allocations: 0 / 283.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of Templates: time 0.004312/0.0198, allocations: 2.694 MB / 286.5 MB, free: 3.484 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5641471438575536]