Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.0008991/0.0008991, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009205/0.0009205, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 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.8759/0.8759, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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(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.1.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.1.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.203e-05, allocations: 2.312 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003102/0.003114, allocations: 2.428 MB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.004091, allocations: 0.658 MB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.004201, allocations: 7.938 kB / 276.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.004329, allocations: 35.66 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.004483, allocations: 87.14 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.004676, allocations: 63.91 kB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.004928, allocations: 282.5 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.005072, allocations: 77.91 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.005304, allocations: 175.5 kB / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.005427, allocations: 83.72 kB / 277.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.005461, allocations: 20 kB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.587e-05/0.005527, allocations: 24 kB / 277.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.00556, allocations: 47.83 kB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/0.005634, allocations: 91.75 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.005849, allocations: 183.2 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005851, allocations: 0 / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005851, allocations: 0 / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.005855, allocations: 4 kB / 277.7 MB, free: 13.01 MB / 266.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.0004655/0.00632, allocations: 440.2 kB / 278.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.00635, allocations: 8.031 kB / 278.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.006481, allocations: 48.89 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.006673, allocations: 170.1 kB / 278.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.006693, allocations: 20.81 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.006725, allocations: 28.38 kB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.006903, allocations: 149.3 kB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.006915, allocations: 192 / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.006928, allocations: 8.375 kB / 278.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.006937, allocations: 11.94 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.007026, allocations: 55.45 kB / 278.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.007567, allocations: 386.1 kB / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.00772, allocations: 126.3 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.00778, allocations: 48.84 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.007795, allocations: 4 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.007818, allocations: 38.56 kB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.173e-06/0.007819, allocations: 0 / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0011/0.008919, allocations: 0.7196 MB / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.008946, allocations: 55.41 kB / 280 MB, free: 10.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.009047, allocations: 170.6 kB / 280.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.009063, allocations: 33.7 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.009118, allocations: 132.7 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.009183, allocations: 119 kB / 280.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.009246, allocations: 53.67 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.009333, allocations: 334.8 kB / 280.8 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.226e-05/0.009376, allocations: 31.92 kB / 280.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.009442, allocations: 63.19 kB / 280.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.009571, allocations: 112.1 kB / 281 MB, free: 9.484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.009572, allocations: 3.938 kB / 281 MB, free: 9.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000221/0.009793, allocations: 179.3 kB / 281.2 MB, free: 9.297 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.009806, allocations: 12.06 kB / 281.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.00981, allocations: 0 / 281.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.009927, allocations: 44.77 kB / 281.3 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.01012, allocations: 67.89 kB / 281.3 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009663/0.01108, allocations: 1.43 MB / 282.8 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.01115, allocations: 4 kB / 282.8 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.01116, allocations: 12 kB / 282.8 MB, free: 7.645 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 7.831e-05/0.01124, allocations: 125.7 kB / 282.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.01129, allocations: 23.97 kB / 282.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.01132, allocations: 30.66 kB / 283 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01132, allocations: 4 kB / 283 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01132, allocations: 0 / 283 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01133, allocations: 8.203 kB / 283 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.01189, allocations: 492.8 kB / 283.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01189, allocations: 0 / 283.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.01209, allocations: 67.89 kB / 283.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.406e-05/0.01216, allocations: 28.94 kB / 283.5 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.01217, allocations: 8 kB / 283.6 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006655/0.01284, allocations: 1.237 MB / 284.8 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01284, allocations: 3.938 kB / 284.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.01313, allocations: 327.3 kB / 285.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.01316, allocations: 27.88 kB / 285.1 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.01317, allocations: 4 kB / 285.1 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.01327, allocations: 8 kB / 285.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.01331, allocations: 23.95 kB / 285.2 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.01332, allocations: 4 kB / 285.2 MB, free: 5.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.818e-05/0.01335, allocations: 46.06 kB / 285.2 MB, free: 5.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01336, allocations: 0 / 285.2 MB, free: 5.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.01366, allocations: 64 kB / 285.3 MB, free: 4.961 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 7.439e-05/0.01373, allocations: 88.36 kB / 285.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.01403, allocations: 256.4 kB / 285.6 MB, free: 4.602 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.01403, allocations: 3.938 kB / 285.6 MB, free: 4.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.01421, allocations: 216 kB / 285.8 MB, free: 4.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01447, allocations: 40.17 kB / 285.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008583/0.01532, allocations: 0.582 MB / 286.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.164e-05/0.01539, allocations: 92.92 kB / 286.6 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.713e-05/0.01545, allocations: 18.3 kB / 286.6 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.01557, allocations: 91.34 kB / 286.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01557, allocations: 0 / 286.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of Templates: time 0.00547/0.02104, allocations: 2.953 MB / 289.6 MB, free: 0.5977 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4180380147881806]