Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.001866/0.001866, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.001963/0.001963, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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.532/1.532, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.First,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.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_4.1.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.134e-05, allocations: 2.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.006911/0.006942, allocations: 2.376 MB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.009373, allocations: 0.6232 MB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.009547, allocations: 7.938 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.009798, allocations: 39.53 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.01013, allocations: 83.27 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.01053, allocations: 71.84 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006094/0.01114, allocations: 286.5 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.01142, allocations: 71.28 kB / 275.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004597/0.01188, allocations: 167.6 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.01214, allocations: 79.78 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.01221, allocations: 20 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.01233, allocations: 27.94 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.24e-05/0.01242, allocations: 55.75 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.01261, allocations: 87.75 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005962/0.0132, allocations: 267.1 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.01321, allocations: 3.984 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.01321, allocations: 4 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.01322, allocations: 0 / 276.5 MB, free: 13.58 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.001345/0.01456, allocations: 0.5621 MB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.01461, allocations: 12.03 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.01492, allocations: 52.73 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.01538, allocations: 188.9 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.01542, allocations: 20.88 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-05/0.01549, allocations: 28.36 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.01609, allocations: 180.7 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.01612, allocations: 8.141 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.01616, allocations: 8.375 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.01618, allocations: 7.938 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.0167, allocations: 133.9 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.01848, allocations: 0.5952 MB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.01905, allocations: 186.3 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.01938, allocations: 91.66 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.01942, allocations: 4 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.01947, allocations: 37.42 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.954e-06/0.01947, allocations: 0 / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.003468/0.02294, allocations: 0.9515 MB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.02302, allocations: 59.39 kB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.02338, allocations: 233.9 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.02343, allocations: 33.7 kB / 279.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.02365, allocations: 187.5 kB / 280.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.02384, allocations: 131 kB / 280.2 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.02402, allocations: 63.34 kB / 280.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004507/0.02447, allocations: 0.5157 MB / 280.8 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.02473, allocations: 67.97 kB / 280.9 MB, free: 9.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.02509, allocations: 119 kB / 281 MB, free: 8.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/0.02574, allocations: 216.6 kB / 281.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.02574, allocations: 0 / 281.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001002/0.02675, allocations: 302.1 kB / 281.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.02677, allocations: 7.938 kB / 281.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.02678, allocations: 4 kB / 281.5 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003523/0.02713, allocations: 51.72 kB / 281.6 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.02753, allocations: 55.91 kB / 281.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/0.03115, allocations: 2.227 MB / 283.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.03137, allocations: 11.98 kB / 283.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.0314, allocations: 8 kB / 283.9 MB, free: 5.863 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 0.0003084/0.03171, allocations: 188.5 kB / 284 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.03182, allocations: 31.86 kB / 284.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.03194, allocations: 30.66 kB / 284.1 MB, free: 5.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.03194, allocations: 4 kB / 284.1 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.03196, allocations: 3.938 kB / 284.1 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.03197, allocations: 3.984 kB / 284.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.03424, allocations: 0.7723 MB / 284.9 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.03425, allocations: 4 kB / 284.9 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.03478, allocations: 63.83 kB / 284.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.03505, allocations: 43.66 kB / 285 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.03508, allocations: 4 kB / 285 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002943/0.03802, allocations: 1.889 MB / 286.9 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.03803, allocations: 4 kB / 286.9 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.03909, allocations: 0.538 MB / 287.4 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.03913, allocations: 19.91 kB / 287.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.03917, allocations: 8 kB / 287.5 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.03931, allocations: 12 kB / 287.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.03938, allocations: 27.89 kB / 287.5 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.03939, allocations: 8.031 kB / 287.5 MB, free: 1.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.03954, allocations: 172.4 kB / 287.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03954, allocations: 0 / 287.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004311/0.03997, allocations: 71.94 kB / 287.7 MB, free: 1.738 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 0.0001505/0.04012, allocations: 102.9 kB / 287.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007525/0.04087, allocations: 413.9 kB / 288.2 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.04088, allocations: 8.125 kB / 288.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.04132, allocations: 310.1 kB / 288.6 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.04176, allocations: 44.16 kB / 288.6 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.04307, allocations: 0.6546 MB / 289.3 MB, free: 132 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.04325, allocations: 146.8 kB / 289.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.845e-05/0.04334, allocations: 22.23 kB / 289.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.0434, allocations: 20.5 kB / 289.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0434, allocations: 7.938 kB / 289.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of Templates: time 0.007629/0.05103, allocations: 2.703 MB / 292.1 MB, free: 13.24 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.5750552859390154]