Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.0008762/0.0008762, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009171/0.0009171, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 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 0.9552/0.9552, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] 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.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.191e-05, allocations: 6.312 kB / 273.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003674/0.003696, allocations: 2.475 MB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.004943, allocations: 0.658 MB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.005075, allocations: 7.938 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.005217, allocations: 39.58 kB / 276.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.005381, allocations: 75.3 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.005657, allocations: 75.88 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.005953, allocations: 274.6 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.00612, allocations: 67.66 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.006389, allocations: 155.6 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.006541, allocations: 87.7 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.006576, allocations: 20 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.006651, allocations: 24 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.00669, allocations: 43.83 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.00677, allocations: 83.83 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.007026, allocations: 175.3 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.007028, allocations: 0 / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007029, allocations: 0 / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.007033, allocations: 0 / 277.7 MB, free: 12.88 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005713/0.007604, allocations: 448.1 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.007638, allocations: 8.031 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.007838, allocations: 56.89 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.008069, allocations: 165.4 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.008088, allocations: 16.88 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.008124, allocations: 16.38 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.008385, allocations: 187.3 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.008401, allocations: 192 / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.00842, allocations: 15.94 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.008429, allocations: 4 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.008549, allocations: 55.97 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007842/0.009334, allocations: 0.5371 MB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.009563, allocations: 125.2 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.009676, allocations: 53.7 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.009693, allocations: 4 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.009721, allocations: 42.55 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.009722, allocations: 4 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001049/0.01077, allocations: 0.5182 MB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.01081, allocations: 89.05 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.01093, allocations: 170.6 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.01095, allocations: 29.7 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.01102, allocations: 140.4 kB / 280.4 MB, free: 10 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.01108, allocations: 91.17 kB / 280.5 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.236e-05/0.01116, allocations: 57.66 kB / 280.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.01125, allocations: 326.8 kB / 280.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.546e-05/0.01131, allocations: 23.98 kB / 280.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-05/0.01139, allocations: 73.22 kB / 280.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.01154, allocations: 116.1 kB / 281.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01155, allocations: 0 / 281.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002093/0.01176, allocations: 136.3 kB / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.01177, allocations: 7.938 kB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.01177, allocations: 4 kB / 281.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.01179, allocations: 0 / 281.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.01195, allocations: 71.89 kB / 281.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.01196, allocations: 7.938 kB / 281.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.012, allocations: 8.094 kB / 281.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.01201, allocations: 8 kB / 281.3 MB, free: 9.039 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/0.01208, allocations: 133.7 kB / 281.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.01212, allocations: 23.98 kB / 281.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.01215, allocations: 25.81 kB / 281.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01215, allocations: 3.938 kB / 281.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01216, allocations: 4 kB / 281.5 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01216, allocations: 3.984 kB / 281.5 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.01251, allocations: 361 kB / 281.8 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01251, allocations: 8.031 kB / 281.8 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.01266, allocations: 66.56 kB / 281.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01266, allocations: 4 kB / 281.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.01267, allocations: 8 kB / 281.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01267, allocations: 0 / 281.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01267, allocations: 0 / 281.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.0129, allocations: 353.8 kB / 282.3 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.01292, allocations: 23.84 kB / 282.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.01293, allocations: 8 kB / 282.3 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.01301, allocations: 8 kB / 282.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.01304, allocations: 19.97 kB / 282.3 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.01305, allocations: 4 kB / 282.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3e-05/0.01308, allocations: 49.31 kB / 282.4 MB, free: 7.883 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01308, allocations: 0 / 282.4 MB, free: 7.883 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.01325, allocations: 52 kB / 282.4 MB, free: 7.832 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.887e-05/0.01332, allocations: 92.28 kB / 282.5 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.01344, allocations: 119 kB / 282.6 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01345, allocations: 3.938 kB / 282.6 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.0135, allocations: 56.88 kB / 282.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.01374, allocations: 40.11 kB / 282.7 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.01439, allocations: 0.5237 MB / 283.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.888e-05/0.01444, allocations: 84.31 kB / 283.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.043e-05/0.0145, allocations: 21.95 kB / 283.4 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.0146, allocations: 95.28 kB / 283.4 MB, free: 6.73 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.0146, allocations: 0 / 283.4 MB, free: 6.73 MB / 266.7 MB Notification: Performance of Templates: time 0.003602/0.01821, allocations: 2.213 MB / 285.7 MB, free: 4.574 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.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.4861165480688214]