Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008506/0.0008506, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008581/0.0008581, allocations: 145.6 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9001/0.9001, allocations: 173.4 MB / 201.5 MB, free: 8.238 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 268.5 MB, free: 9.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.563e-05, allocations: 4.984 kB / 268.5 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002471/0.002486, allocations: 2.405 MB / 270.9 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007889/0.003275, allocations: 0.5871 MB / 271.4 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.914e-05/0.003374, allocations: 8.688 kB / 271.5 MB, free: 6.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.003493, allocations: 31.66 kB / 271.5 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.003755, allocations: 80.7 kB / 271.6 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.003953, allocations: 59.05 kB / 271.6 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.004157, allocations: 274.7 kB / 271.9 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.004281, allocations: 63.67 kB / 272 MB, free: 6.336 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.004439, allocations: 155.6 kB / 272.1 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.004546, allocations: 75.78 kB / 272.2 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.004575, allocations: 20 kB / 272.2 MB, free: 6.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.004597, allocations: 20 kB / 272.2 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.004632, allocations: 53.28 kB / 272.3 MB, free: 6.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.004687, allocations: 75.83 kB / 272.3 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.004863, allocations: 175.3 kB / 272.5 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004865, allocations: 0 / 272.5 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004866, allocations: 0.8125 kB / 272.5 MB, free: 5.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.00487, allocations: 0 / 272.5 MB, free: 5.773 MB / 250.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.0004377/0.005307, allocations: 437.7 kB / 272.9 MB, free: 5.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.005336, allocations: 8.031 kB / 273 MB, free: 5.312 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.005378, allocations: 32.91 kB / 273 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.005539, allocations: 162.2 kB / 273.1 MB, free: 5.094 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.005551, allocations: 16.88 kB / 273.2 MB, free: 5.078 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.005585, allocations: 20.38 kB / 273.2 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.005765, allocations: 187.3 kB / 273.4 MB, free: 4.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.005776, allocations: 4.141 kB / 273.4 MB, free: 4.859 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.005789, allocations: 7.938 kB / 273.4 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.005797, allocations: 12 kB / 273.4 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.6e-05/0.005873, allocations: 58.53 kB / 273.4 MB, free: 4.785 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.006414, allocations: 0.5371 MB / 274 MB, free: 4.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.006586, allocations: 125.2 kB / 274.1 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.493e-05/0.006661, allocations: 53.69 kB / 274.2 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.006678, allocations: 11.98 kB / 274.2 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.006696, allocations: 34.56 kB / 274.2 MB, free: 3.965 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.073e-06/0.006697, allocations: 0 / 274.2 MB, free: 3.965 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007049/0.007402, allocations: 0.5108 MB / 274.7 MB, free: 3.398 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.007436, allocations: 89.05 kB / 274.8 MB, free: 3.293 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.007514, allocations: 158.6 kB / 275 MB, free: 3.125 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.007527, allocations: 25.7 kB / 275 MB, free: 3.094 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.007579, allocations: 140.4 kB / 275.1 MB, free: 2.953 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.007626, allocations: 99.16 kB / 275.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.007675, allocations: 53.61 kB / 275.3 MB, free: 2.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.00775, allocations: 330.8 kB / 275.6 MB, free: 2.465 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.007782, allocations: 23.98 kB / 275.6 MB, free: 2.441 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.007832, allocations: 64.19 kB / 275.7 MB, free: 2.363 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.007933, allocations: 123.6 kB / 275.8 MB, free: 2.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.007934, allocations: 0 / 275.8 MB, free: 2.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001333/0.008067, allocations: 141.5 kB / 275.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.008079, allocations: 6.188 kB / 275.9 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.008083, allocations: 7.938 kB / 275.9 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.008093, allocations: 0 / 275.9 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.008226, allocations: 59.91 kB / 276 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.008232, allocations: 7.938 kB / 276 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.008278, allocations: 16.03 kB / 276 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.008287, allocations: 8 kB / 276 MB, free: 1.984 MB / 250.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 6.945e-05/0.008357, allocations: 125.8 kB / 276.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.008392, allocations: 15.98 kB / 276.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.008422, allocations: 25.81 kB / 276.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008425, allocations: 4 kB / 276.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.008428, allocations: 3.938 kB / 276.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.008433, allocations: 3.984 kB / 276.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.008799, allocations: 368.1 kB / 276.6 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.0088, allocations: 0 / 276.6 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.008931, allocations: 59.84 kB / 276.6 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.008935, allocations: 4 kB / 276.6 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.008946, allocations: 8 kB / 276.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.00895, allocations: 7.984 kB / 276.6 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008951, allocations: 0 / 276.6 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.009184, allocations: 355.3 kB / 277 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.009201, allocations: 19.84 kB / 277 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.00922, allocations: 8.062 kB / 277 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.009294, allocations: 12 kB / 277 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.009329, allocations: 19.98 kB / 277.1 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.009337, allocations: 8 kB / 277.1 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.006e-05/0.009367, allocations: 49.81 kB / 277.1 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009367, allocations: 3.938 kB / 277.1 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.00955, allocations: 48 kB / 277.2 MB, free: 0.7891 MB / 250.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 7.257e-05/0.009623, allocations: 88.3 kB / 277.2 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.009756, allocations: 112.7 kB / 277.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.00976, allocations: 4 kB / 277.4 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.359e-05/0.009814, allocations: 60.7 kB / 277.4 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.01006, allocations: 47.09 kB / 277.5 MB, free: 484 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.01077, allocations: 0.5197 MB / 278 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.01082, allocations: 79.98 kB / 278.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.01088, allocations: 21.94 kB / 278.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.159e-05/0.01097, allocations: 91.34 kB / 278.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01097, allocations: 4 kB / 278.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of Templates: time 0.003907/0.01488, allocations: 2.101 MB / 280.3 MB, free: 13.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4519056351855397]