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.001968/0.001968, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.002327/0.002327, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.52/1.52, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.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 0.001603/0.001603, allocations: 43.94 kB / 373.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1051, allocations: 53.33 MB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003825/0.1089, allocations: 2.377 MB / 429.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1102, allocations: 0.6505 MB / 429.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1103, allocations: 4 kB / 429.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.1105, allocations: 39.58 kB / 429.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.1107, allocations: 79.33 kB / 429.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1109, allocations: 55.88 kB / 430 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.1113, allocations: 278.7 kB / 430.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.1115, allocations: 70.78 kB / 430.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.1117, allocations: 123.5 kB / 430.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.1119, allocations: 115.5 kB / 430.6 MB, free: 472 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.1119, allocations: 20 kB / 430.6 MB, free: 452 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.112, allocations: 31.98 kB / 430.6 MB, free: 420 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.112, allocations: 47.84 kB / 430.7 MB, free: 372 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.1121, allocations: 127.3 kB / 430.8 MB, free: 244 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2069/0.319, allocations: 268.4 kB / 431.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.319, allocations: 0.5 kB / 431.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.319, allocations: 0 / 431.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.319, allocations: 0.5312 kB / 431.1 MB, free: 8.668 MB / 350.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.0007373/0.3198, allocations: 0.5266 MB / 431.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3198, allocations: 9.469 kB / 431.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.32, allocations: 38.23 kB / 431.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.3202, allocations: 248.2 kB / 431.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3202, allocations: 14.19 kB / 431.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.3203, allocations: 30.67 kB / 431.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.3207, allocations: 191.7 kB / 432.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3207, allocations: 5.5 kB / 432.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3207, allocations: 12.59 kB / 432.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3207, allocations: 5.906 kB / 432.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.321, allocations: 142.8 kB / 432.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008122/0.3218, allocations: 0.6225 MB / 432.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.3221, allocations: 169.2 kB / 433.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3222, allocations: 89.06 kB / 433.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3223, allocations: 4.75 kB / 433.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.3223, allocations: 37.38 kB / 433.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.214e-06/0.3223, allocations: 0.9688 kB / 433.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001859/0.3241, allocations: 1.073 MB / 434.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3242, allocations: 55.25 kB / 434.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3243, allocations: 186.5 kB / 434.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3244, allocations: 39.89 kB / 434.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.3244, allocations: 146.4 kB / 434.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.3245, allocations: 117.8 kB / 434.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/0.3246, allocations: 58.88 kB / 434.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.973e-05/0.3247, allocations: 332.4 kB / 435.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3248, allocations: 68.91 kB / 435.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.325, allocations: 103.8 kB / 435.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.3252, allocations: 194.7 kB / 435.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3252, allocations: 1.219 kB / 435.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004701/0.3257, allocations: 290.6 kB / 435.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3257, allocations: 5.906 kB / 435.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3257, allocations: 2.75 kB / 435.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.3259, allocations: 45.88 kB / 435.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.3262, allocations: 57.05 kB / 435.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.3272, allocations: 1.742 MB / 437.7 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.3274, allocations: 8.953 kB / 437.7 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.3274, allocations: 11 kB / 437.7 MB, free: 4.754 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.0001029/0.3275, allocations: 138.9 kB / 437.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.3275, allocations: 26.14 kB / 437.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.3276, allocations: 32.38 kB / 437.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3276, allocations: 3.25 kB / 437.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3276, allocations: 2.188 kB / 437.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3276, allocations: 4.938 kB / 437.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009668/0.3286, allocations: 0.7775 MB / 438.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3286, allocations: 1.875 kB / 438.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.3288, allocations: 64.8 kB / 438.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.329, allocations: 33.16 kB / 438.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.329, allocations: 11.34 kB / 438.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008198/0.3298, allocations: 1.485 MB / 440.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3298, allocations: 2.547 kB / 440.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.3304, allocations: 484.2 kB / 440.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.3305, allocations: 96.03 kB / 440.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.3305, allocations: 10.19 kB / 440.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.3307, allocations: 13.27 kB / 440.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.3307, allocations: 22.41 kB / 440.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3307, allocations: 14.03 kB / 440.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.182e-05/0.3308, allocations: 136.7 kB / 441 MB, free: 2.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3308, allocations: 0 / 441 MB, free: 2.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003851/0.3312, allocations: 68.59 kB / 441.1 MB, free: 2.285 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 9.759e-05/0.3313, allocations: 104.5 kB / 441.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.3319, allocations: 334.4 kB / 441.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3319, allocations: 0 / 441.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.3322, allocations: 234.7 kB / 441.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.3327, allocations: 46.8 kB / 441.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3338, allocations: 0.7389 MB / 442.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.334, allocations: 0.7557 MB / 443.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.334e-05/0.3341, allocations: 23.81 kB / 443.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.3341, allocations: 26 kB / 443.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3341, allocations: 0 / 443.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of Templates: time 0.007202/0.3413, allocations: 2.763 MB / 446.1 MB, free: 456 kB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] 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.695740155875683]