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.001148/0.001148, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001113/0.001113, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9094/0.9094, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.102e-06/1.102e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.411e-05, allocations: 2.312 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00234/0.002354, allocations: 2.41 MB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000741/0.003095, allocations: 0.627 MB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-05/0.00319, allocations: 11.94 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.003319, allocations: 35.64 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.003441, allocations: 91.2 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.003637, allocations: 63.84 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.003851, allocations: 286.5 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.003991, allocations: 75.28 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.004174, allocations: 163.5 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.004288, allocations: 95.69 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.004315, allocations: 20 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.876e-05/0.004374, allocations: 24 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.004407, allocations: 51.83 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.00447, allocations: 83.77 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.004679, allocations: 179.3 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004681, allocations: 3.938 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004682, allocations: 4 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.004686, allocations: 0 / 277.1 MB, free: 13.25 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.0005135/0.0052, allocations: 0.5507 MB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.00523, allocations: 11.98 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.005359, allocations: 56.73 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.005546, allocations: 184.9 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.00556, allocations: 16.88 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.005592, allocations: 32.27 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.005794, allocations: 161.4 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.005807, allocations: 4.172 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.005823, allocations: 16.38 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.005832, allocations: 7.938 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.005947, allocations: 82.92 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.006523, allocations: 0.5366 MB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.006705, allocations: 142.4 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.006783, allocations: 63.66 kB / 278.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.006798, allocations: 4 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.006817, allocations: 33.39 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.006819, allocations: 4 kB / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001067/0.007885, allocations: 0.7913 MB / 279.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.007913, allocations: 59.39 kB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.008022, allocations: 218.6 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.008036, allocations: 29.7 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.008104, allocations: 187.5 kB / 280.3 MB, free: 9.848 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.008161, allocations: 115 kB / 280.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.008225, allocations: 67.34 kB / 280.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.008335, allocations: 0.5 MB / 280.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.008405, allocations: 43.91 kB / 281 MB, free: 9.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.008485, allocations: 86.98 kB / 281.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.008651, allocations: 144.7 kB / 281.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.008652, allocations: 0 / 281.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002555/0.008907, allocations: 238.1 kB / 281.4 MB, free: 8.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.00892, allocations: 15.12 kB / 281.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.008924, allocations: 0 / 281.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/0.009053, allocations: 43.66 kB / 281.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.009203, allocations: 59.91 kB / 281.6 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.01023, allocations: 2.122 MB / 283.7 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.107e-05/0.01029, allocations: 8 kB / 283.7 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.01031, allocations: 12 kB / 283.7 MB, free: 6.238 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.189e-05/0.01039, allocations: 168.5 kB / 283.9 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.01042, allocations: 31.86 kB / 283.9 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.01045, allocations: 30.64 kB / 283.9 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.01045, allocations: 4 kB / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.01045, allocations: 8.125 kB / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.01045, allocations: 0 / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006939/0.01115, allocations: 0.6788 MB / 284.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01115, allocations: 4 kB / 284.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.0113, allocations: 55.91 kB / 284.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.633e-05/0.01137, allocations: 35.66 kB / 284.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01139, allocations: 8.094 kB / 284.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006853/0.01207, allocations: 1.811 MB / 286.5 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01207, allocations: 7.938 kB / 286.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.01243, allocations: 450.9 kB / 287 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.01245, allocations: 19.89 kB / 287 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.01246, allocations: 4 kB / 287 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.505e-05/0.01253, allocations: 12.03 kB / 287 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.01257, allocations: 27.89 kB / 287 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.01258, allocations: 8 kB / 287 MB, free: 2.652 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.01264, allocations: 155.2 kB / 287.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01264, allocations: 0 / 287.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.01287, allocations: 72 kB / 287.3 MB, free: 2.43 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.192e-05/0.01294, allocations: 103.2 kB / 287.4 MB, free: 2.316 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.0133, allocations: 349.8 kB / 287.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.0133, allocations: 3.938 kB / 287.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.0137, allocations: 278.3 kB / 288 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.01396, allocations: 51.91 kB / 288 MB, free: 1.605 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.0148, allocations: 0.6348 MB / 288.7 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.392e-05/0.01486, allocations: 92.92 kB / 288.8 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.262e-05/0.01491, allocations: 26.27 kB / 288.8 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.01495, allocations: 20.5 kB / 288.8 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01495, allocations: 0 / 288.8 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of Templates: time 0.004449/0.0194, allocations: 2.823 MB / 291.6 MB, free: 13.98 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.585592486895621]