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.001021/0.001021, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001233/0.001233, allocations: 156.4 kB / 24.98 MB, free: 8.75 MB / 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.9762/0.9762, allocations: 177 MB / 205.2 MB, free: 5.59 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.403e-06/1.403e-06, allocations: 0 / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.645e-05, allocations: 5.266 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002759/0.002785, allocations: 2.395 MB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003973, allocations: 0.6348 MB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.004125, allocations: 7.938 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.004269, allocations: 35.66 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.004468, allocations: 95.14 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.004746, allocations: 59.91 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.005121, allocations: 282.5 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.005309, allocations: 75.28 kB / 276.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.005595, allocations: 171.5 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.005727, allocations: 83.72 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.005759, allocations: 20 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.005811, allocations: 24 kB / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.005845, allocations: 51.83 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.448e-05/0.00592, allocations: 87.75 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.006178, allocations: 187.2 kB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.00618, allocations: 0 / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006181, allocations: 0 / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.006186, allocations: 4 kB / 277.2 MB, free: 13.54 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.0006037/0.00679, allocations: 0.5468 MB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.006827, allocations: 11.98 kB / 277.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.006974, allocations: 56.75 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.007205, allocations: 192.9 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.007226, allocations: 20.81 kB / 278 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.007263, allocations: 28.33 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.007497, allocations: 161.4 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.007511, allocations: 4.172 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.007529, allocations: 12.38 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.00754, allocations: 7.938 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.007668, allocations: 82.92 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.008346, allocations: 0.5366 MB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.00854, allocations: 143 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/0.008625, allocations: 63.66 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.008642, allocations: 4 kB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.008663, allocations: 37.39 kB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.532e-06/0.008664, allocations: 0 / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001202/0.009867, allocations: 0.7913 MB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.009895, allocations: 55.41 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.01002, allocations: 222.6 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.01004, allocations: 29.7 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/0.01012, allocations: 183.5 kB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.01018, allocations: 123 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.01025, allocations: 59.36 kB / 280.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01038, allocations: 0.5078 MB / 281 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.01044, allocations: 31.98 kB / 281.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.01053, allocations: 87.05 kB / 281.1 MB, free: 9.301 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.01069, allocations: 148.6 kB / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.0107, allocations: 0 / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002907/0.01099, allocations: 238 kB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.011, allocations: 14.91 kB / 281.5 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01101, allocations: 0 / 281.5 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.01116, allocations: 47.72 kB / 281.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.01133, allocations: 55.91 kB / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.01244, allocations: 2.118 MB / 283.8 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.01251, allocations: 11.98 kB / 283.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.01253, allocations: 12 kB / 283.8 MB, free: 6.527 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 9.846e-05/0.01262, allocations: 172.5 kB / 283.9 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.01266, allocations: 31.86 kB / 284 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.01269, allocations: 26.66 kB / 284 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.0127, allocations: 4 kB / 284 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.01271, allocations: 7.938 kB / 284 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01271, allocations: 3.984 kB / 284 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.01336, allocations: 0.671 MB / 284.7 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.01336, allocations: 11.97 kB / 284.7 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.01352, allocations: 51.97 kB / 284.7 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.623e-05/0.0136, allocations: 31.67 kB / 284.8 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.01362, allocations: 7.984 kB / 284.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008131/0.01443, allocations: 1.819 MB / 286.6 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01443, allocations: 7.938 kB / 286.6 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.01481, allocations: 450.9 kB / 287.1 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.01483, allocations: 15.91 kB / 287.1 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.01485, allocations: 4 kB / 287.1 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.01492, allocations: 11.98 kB / 287.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.01496, allocations: 23.91 kB / 287.1 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.01497, allocations: 8 kB / 287.1 MB, free: 2.945 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.92e-05/0.01504, allocations: 159.1 kB / 287.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01504, allocations: 4.031 kB / 287.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000265/0.01531, allocations: 72 kB / 287.3 MB, free: 2.715 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 9.616e-05/0.01541, allocations: 99.19 kB / 287.4 MB, free: 2.605 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.01579, allocations: 357.7 kB / 287.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.0158, allocations: 0 / 287.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.01598, allocations: 274.7 kB / 288.1 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.01627, allocations: 54.84 kB / 288.1 MB, free: 1.895 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.01736, allocations: 0.6319 MB / 288.7 MB, free: 1.219 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.01743, allocations: 96.92 kB / 288.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.439e-05/0.01749, allocations: 22.28 kB / 288.9 MB, free: 1.082 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.01754, allocations: 20.5 kB / 288.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01754, allocations: 0 / 288.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of Templates: time 0.00478/0.02232, allocations: 2.707 MB / 291.6 MB, free: 14.39 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.699323110980913]