Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.00184/0.00184, allocations: 111.6 kB / 20.43 MB, free: 1.473 MB / 14.72 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.002313/0.002313, allocations: 209 kB / 23.74 MB, free: 4.691 MB / 14.72 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 1.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.FirstGrounded,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.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,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.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 47.92 kB / 378.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2445, allocations: 53.36 MB / 431.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003823/0.2484, allocations: 2.383 MB / 434 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2495, allocations: 0.666 MB / 434.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.2496, allocations: 7.938 kB / 434.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.2498, allocations: 35.59 kB / 434.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.2499, allocations: 79.39 kB / 434.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.2502, allocations: 63.86 kB / 434.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.2505, allocations: 258.7 kB / 435.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.2507, allocations: 69.25 kB / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.2509, allocations: 103.6 kB / 435.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.2511, allocations: 115.4 kB / 435.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.2511, allocations: 20 kB / 435.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.2512, allocations: 24 kB / 435.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.2512, allocations: 47.84 kB / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2513, allocations: 119.4 kB / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.2517, allocations: 248.2 kB / 435.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2517, allocations: 0 / 435.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2517, allocations: 3.938 kB / 435.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2517, allocations: 0 / 435.8 MB, free: 2.727 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007374/0.2524, allocations: 457.5 kB / 436.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2525, allocations: 8.031 kB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.2526, allocations: 40.78 kB / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.2529, allocations: 178.8 kB / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.2529, allocations: 16.81 kB / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.253, allocations: 20.38 kB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.2534, allocations: 214.1 kB / 436.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.2534, allocations: 7.953 kB / 436.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.2534, allocations: 8 kB / 436.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2534, allocations: 8 kB / 436.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.2537, allocations: 129.7 kB / 436.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.2547, allocations: 0.6695 MB / 437.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.255, allocations: 146.5 kB / 437.7 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.2552, allocations: 60.83 kB / 437.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.2552, allocations: 4 kB / 437.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.2552, allocations: 34.56 kB / 437.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.2552, allocations: 0 / 437.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001601/0.2568, allocations: 0.7385 MB / 438.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.2569, allocations: 55.41 kB / 438.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.2571, allocations: 180.4 kB / 438.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.2571, allocations: 25.7 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2572, allocations: 148.3 kB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/0.2573, allocations: 103.1 kB / 439.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.2573, allocations: 45.7 kB / 439.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2575, allocations: 330.8 kB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.2576, allocations: 55.98 kB / 439.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.2578, allocations: 96.25 kB / 439.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.2581, allocations: 168.2 kB / 439.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2581, allocations: 0 / 439.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004841/0.2586, allocations: 258.1 kB / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2586, allocations: 8 kB / 440 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2586, allocations: 3.938 kB / 440 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/0.2587, allocations: 28.84 kB / 440 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.259, allocations: 55.91 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.2603, allocations: 1.381 MB / 441.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.2604, allocations: 8.031 kB / 441.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.2605, allocations: 12 kB / 441.5 MB, free: 12.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001409/0.2606, allocations: 137.8 kB / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.2606, allocations: 23.86 kB / 441.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.2607, allocations: 29.95 kB / 441.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2607, allocations: 3.938 kB / 441.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2607, allocations: 4 kB / 441.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2607, allocations: 0 / 441.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000977/0.2617, allocations: 0.612 MB / 442.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2617, allocations: 0 / 442.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.2619, allocations: 51.91 kB / 442.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.262, allocations: 28.84 kB / 442.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.2621, allocations: 8 kB / 442.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.2633, allocations: 1.385 MB / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2633, allocations: 4.062 kB / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006351/0.264, allocations: 411.5 kB / 444.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.264, allocations: 15.86 kB / 444.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.264, allocations: 8 kB / 444.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.2642, allocations: 12 kB / 444.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.2642, allocations: 23.89 kB / 444.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.2642, allocations: 8 kB / 444.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.2643, allocations: 125.2 kB / 444.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2643, allocations: 0 / 444.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.2647, allocations: 59.94 kB / 444.4 MB, free: 9.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.0001128/0.2648, allocations: 103.8 kB / 444.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000577/0.2653, allocations: 282.3 kB / 444.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2653, allocations: 4 kB / 444.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.2657, allocations: 210.5 kB / 445 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.2661, allocations: 58.97 kB / 445.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.2674, allocations: 0.6891 MB / 445.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.2678, allocations: 0.7404 MB / 446.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.944e-05/0.2678, allocations: 29.92 kB / 446.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.2679, allocations: 19.44 kB / 446.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2679, allocations: 0 / 446.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of Templates: time 0.00665/0.2745, allocations: 2.556 MB / 449.1 MB, free: 4.781 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.6907223619055]