Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.91 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3511, allocations: 53.41 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004428/0.3556, allocations: 2.38 MB / 434.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3569, allocations: 0.666 MB / 435.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.3571, allocations: 7.938 kB / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.3572, allocations: 39.59 kB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.3574, allocations: 75.33 kB / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.3577, allocations: 67.84 kB / 435.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.3581, allocations: 274.6 kB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.3583, allocations: 79.23 kB / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.3585, allocations: 111.6 kB / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.3587, allocations: 123.4 kB / 436.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.3588, allocations: 20 kB / 436.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.3588, allocations: 28 kB / 436.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.3589, allocations: 47.84 kB / 436.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.359, allocations: 123.4 kB / 436.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.3594, allocations: 268.1 kB / 436.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3594, allocations: 0 / 436.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3594, allocations: 0 / 436.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.3594, allocations: 0 / 436.7 MB, free: 2.484 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000848/0.3603, allocations: 469.5 kB / 437.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3603, allocations: 8.031 kB / 437.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.3605, allocations: 40.73 kB / 437.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.3609, allocations: 186.8 kB / 437.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.3609, allocations: 12.81 kB / 437.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.361, allocations: 32.33 kB / 437.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.3614, allocations: 199.5 kB / 437.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3614, allocations: 3.938 kB / 437.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.3614, allocations: 15.98 kB / 437.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.3615, allocations: 4 kB / 437.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.3618, allocations: 141.6 kB / 437.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.3628, allocations: 0.5949 MB / 438.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.3632, allocations: 158.6 kB / 438.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.3633, allocations: 95.86 kB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.3634, allocations: 4 kB / 438.7 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3634, allocations: 34.56 kB / 438.7 MB, free: 400 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.352e-06/0.3634, allocations: 4 kB / 438.7 MB, free: 396 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002104/0.3655, allocations: 0.9191 MB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.3656, allocations: 63.34 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.3658, allocations: 179.2 kB / 439.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.3658, allocations: 33.7 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.366, allocations: 144.8 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.3661, allocations: 119 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.3662, allocations: 49.7 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.3664, allocations: 334.8 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3665, allocations: 67.97 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.3667, allocations: 111.2 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.3671, allocations: 196.7 kB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3671, allocations: 0 / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005576/0.3676, allocations: 291.2 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.3677, allocations: 8 kB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3677, allocations: 0 / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.3679, allocations: 40.83 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.3681, allocations: 63.91 kB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.37, allocations: 1.633 MB / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.3701, allocations: 16.02 kB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.3701, allocations: 12.06 kB / 442.9 MB, free: 11.9 MB / 350.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.0001698/0.3703, allocations: 138 kB / 443.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.3704, allocations: 27.8 kB / 443.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.3704, allocations: 26.66 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3704, allocations: 4 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.3704, allocations: 7.922 kB / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3704, allocations: 0 / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.3717, allocations: 0.7579 MB / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3717, allocations: 0 / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.372, allocations: 55.91 kB / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.3721, allocations: 44.92 kB / 444 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.3721, allocations: 4 kB / 444 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.3735, allocations: 1.389 MB / 445.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3735, allocations: 0 / 445.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.3742, allocations: 490.7 kB / 445.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.3743, allocations: 23.8 kB / 445.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.3743, allocations: 8 kB / 445.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3744, allocations: 8 kB / 445.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.3745, allocations: 27.95 kB / 445.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.3745, allocations: 8 kB / 445.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3746, allocations: 140.4 kB / 446.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3746, allocations: 0 / 446.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003939/0.375, allocations: 64 kB / 446.1 MB, free: 8.469 MB / 350.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.0001539/0.3752, allocations: 106.8 kB / 446.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006604/0.3759, allocations: 338.6 kB / 446.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3759, allocations: 4.125 kB / 446.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.3762, allocations: 230.5 kB / 446.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.3767, allocations: 49.59 kB / 446.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.3781, allocations: 0.7702 MB / 447.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.3786, allocations: 0.7564 MB / 448.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.3787, allocations: 19.44 kB / 448.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3787, allocations: 0 / 448.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of Templates: time 0.007299/0.386, allocations: 3.908 MB / 452.3 MB, free: 2.211 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.09648742293939]