Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.0018/0.0018, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002223/0.002223, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.589/1.589, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.884e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004228/0.004256, allocations: 2.31 MB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.005643, allocations: 0.6271 MB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.005771, allocations: 8 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.005944, allocations: 39.53 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.006107, allocations: 71.34 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.006419, allocations: 83.75 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.006787, allocations: 266.6 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.006964, allocations: 69.69 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.007241, allocations: 151.7 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.007397, allocations: 79.72 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.007437, allocations: 20 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-05/0.007512, allocations: 27.98 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.007564, allocations: 47.81 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.007676, allocations: 79.83 kB / 276.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.008045, allocations: 267 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.008048, allocations: 4 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008049, allocations: 0 / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.008054, allocations: 0 / 276.3 MB, free: 13.67 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.0008344/0.008888, allocations: 457.7 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.008928, allocations: 15.98 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.009201, allocations: 60.73 kB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.009523, allocations: 193.3 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.009547, allocations: 16.88 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.0096, allocations: 28.33 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.01005, allocations: 210.7 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.01006, allocations: 192 / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.01009, allocations: 19.92 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.0101, allocations: 4 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.01044, allocations: 143.9 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.0117, allocations: 0.6702 MB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.01214, allocations: 185 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.0124, allocations: 93.66 kB / 278.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.01242, allocations: 4 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.01246, allocations: 38.56 kB / 278.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.01246, allocations: 0 / 278.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001765/0.01423, allocations: 0.729 MB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.0143, allocations: 81.05 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.01448, allocations: 170.7 kB / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.01452, allocations: 29.7 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.01464, allocations: 144.5 kB / 279.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.645e-05/0.01474, allocations: 103.1 kB / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.01483, allocations: 53.7 kB / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.01501, allocations: 330.8 kB / 280 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.01518, allocations: 59.97 kB / 280.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.01538, allocations: 117.3 kB / 280.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.01575, allocations: 179.5 kB / 280.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01576, allocations: 8 kB / 280.4 MB, free: 9.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004942/0.01625, allocations: 257.6 kB / 280.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.01626, allocations: 4 kB / 280.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01627, allocations: 3.938 kB / 280.7 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.01629, allocations: 4 kB / 280.7 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.01657, allocations: 63.91 kB / 280.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01658, allocations: 4 kB / 280.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01669, allocations: 16.08 kB / 280.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.01671, allocations: 8 kB / 280.8 MB, free: 8.941 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 0.000142/0.01685, allocations: 133.8 kB / 280.9 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.01693, allocations: 31.86 kB / 280.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.951e-05/0.017, allocations: 33.73 kB / 281 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01701, allocations: 4 kB / 281 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01701, allocations: 0 / 281 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01702, allocations: 0 / 281 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.01803, allocations: 0.4964 MB / 281.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01803, allocations: 0 / 281.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.01832, allocations: 59.91 kB / 281.5 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.01833, allocations: 4 kB / 281.5 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.01836, allocations: 4 kB / 281.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.01836, allocations: 4 kB / 281.5 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01836, allocations: 0 / 281.5 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/0.01913, allocations: 0.501 MB / 282 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.01916, allocations: 15.86 kB / 282 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.0192, allocations: 8 kB / 282 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.01938, allocations: 11.94 kB / 282.1 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.01945, allocations: 27.94 kB / 282.1 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.01947, allocations: 8 kB / 282.1 MB, free: 7.523 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.01958, allocations: 123.2 kB / 282.2 MB, free: 7.402 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01958, allocations: 0 / 282.2 MB, free: 7.402 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.01994, allocations: 51.94 kB / 282.3 MB, free: 7.352 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 0.0001444/0.02008, allocations: 103.2 kB / 282.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.02051, allocations: 167.8 kB / 282.5 MB, free: 7.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.02051, allocations: 0 / 282.5 MB, free: 7.078 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.0207, allocations: 91.83 kB / 282.6 MB, free: 6.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.0212, allocations: 43.25 kB / 282.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.02242, allocations: 0.6054 MB / 283.3 MB, free: 6.297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.02258, allocations: 137.8 kB / 283.4 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.401e-05/0.02267, allocations: 21.94 kB / 283.4 MB, free: 6.125 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.02274, allocations: 20.5 kB / 283.4 MB, free: 6.105 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02274, allocations: 0 / 283.4 MB, free: 6.105 MB / 266.7 MB Notification: Performance of Templates: time 0.006014/0.02875, allocations: 2.003 MB / 285.4 MB, free: 4.141 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.38638769404497]