Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001321/0.001321, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 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.001433/0.001433, allocations: 196.7 kB / 22.93 MB, free: 5.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 55.92 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2898, allocations: 49.12 MB / 394.5 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003432/0.2933, allocations: 2.366 MB / 396.9 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.2943, allocations: 0.6315 MB / 397.5 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.2944, allocations: 8.438 kB / 397.5 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.2946, allocations: 39.7 kB / 397.6 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.2947, allocations: 80.8 kB / 397.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.295, allocations: 59.19 kB / 397.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.2952, allocations: 267.5 kB / 398 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.2954, allocations: 82.98 kB / 398 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.2956, allocations: 107.7 kB / 398.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.2957, allocations: 113.8 kB / 398.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.2957, allocations: 21.09 kB / 398.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.872e-05/0.2958, allocations: 20.28 kB / 398.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.2958, allocations: 50.89 kB / 398.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.2959, allocations: 128.6 kB / 398.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.2962, allocations: 259.8 kB / 398.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2962, allocations: 1.188 kB / 398.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2962, allocations: 0 / 398.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.2963, allocations: 0 / 398.7 MB, free: 6.703 MB / 318.1 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.0006813/0.2969, allocations: 0.5274 MB / 399.2 MB, free: 6.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.297, allocations: 13.86 kB / 399.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.297, allocations: 33.94 kB / 399.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.2973, allocations: 248.3 kB / 399.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2973, allocations: 14.22 kB / 399.6 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.2974, allocations: 26.83 kB / 399.6 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.2977, allocations: 197.3 kB / 399.8 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.2978, allocations: 1.031 kB / 399.8 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.2978, allocations: 19.05 kB / 399.8 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2978, allocations: 4.656 kB / 399.8 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.2981, allocations: 141.3 kB / 399.9 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008966/0.299, allocations: 0.6183 MB / 400.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.2993, allocations: 171.1 kB / 400.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.2995, allocations: 92.58 kB / 400.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.2995, allocations: 2.156 kB / 400.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.2995, allocations: 36.58 kB / 400.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.2995, allocations: 1 kB / 400.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001861/0.3014, allocations: 1.076 MB / 401.9 MB, free: 4.465 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.3014, allocations: 58 kB / 402 MB, free: 4.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.3015, allocations: 181 kB / 402.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3016, allocations: 30.89 kB / 402.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.3016, allocations: 142.4 kB / 402.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/0.3017, allocations: 121.8 kB / 402.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.3018, allocations: 57.59 kB / 402.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.3018, allocations: 330.9 kB / 402.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.302, allocations: 70.39 kB / 402.9 MB, free: 3.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.3022, allocations: 101.4 kB / 403 MB, free: 3.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.3025, allocations: 195.4 kB / 403.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3025, allocations: 1.344 kB / 403.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004805/0.3029, allocations: 290.2 kB / 403.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.303, allocations: 5.719 kB / 403.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.303, allocations: 4.734 kB / 403.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001951/0.3032, allocations: 42.11 kB / 403.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.3034, allocations: 60.27 kB / 403.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.3047, allocations: 1.753 MB / 405.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.3048, allocations: 8.531 kB / 405.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.3048, allocations: 6.562 kB / 405.3 MB, free: 1.641 MB / 318.1 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.0001064/0.3049, allocations: 144.3 kB / 405.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.305, allocations: 26.23 kB / 405.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.305, allocations: 32.89 kB / 405.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.305, allocations: 3.188 kB / 405.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.305, allocations: 2.812 kB / 405.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.305, allocations: 3.031 kB / 405.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.3061, allocations: 0.7782 MB / 406.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3061, allocations: 5.75 kB / 406.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.3064, allocations: 56.48 kB / 406.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.3065, allocations: 31.77 kB / 406.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.3065, allocations: 8.203 kB / 406.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3076, allocations: 1.49 MB / 407.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3076, allocations: 1.375 kB / 407.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/0.3084, allocations: 492.2 kB / 408.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.787e-05/0.3085, allocations: 100.3 kB / 408.5 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3085, allocations: 8.734 kB / 408.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3087, allocations: 12.02 kB / 408.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.3088, allocations: 22.17 kB / 408.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3088, allocations: 7.578 kB / 408.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.3089, allocations: 130.5 kB / 408.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3089, allocations: 0 / 408.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004424/0.3094, allocations: 69.06 kB / 408.7 MB, free: 14.88 MB / 334.1 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.0002384/0.3096, allocations: 103.3 kB / 408.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008931/0.3105, allocations: 329.1 kB / 409.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3105, allocations: 1.344 kB / 409.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.311, allocations: 235.2 kB / 409.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.3115, allocations: 48.17 kB / 409.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.3135, allocations: 0.7392 MB / 410.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.314, allocations: 0.7547 MB / 410.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.3141, allocations: 24.97 kB / 411 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.3141, allocations: 21.98 kB / 411 MB, free: 13.2 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3141, allocations: 0 / 411 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Templates: time 0.008486/0.3226, allocations: 2.838 MB / 413.8 MB, free: 12.34 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.539730290882289]