Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001891/0.001891, allocations: 99.53 kB / 21.73 MB, free: 2.695 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.002014/0.002014, allocations: 164.3 kB / 25.03 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 250.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.856e-05, allocations: 2.312 kB / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00413/0.004159, allocations: 2.381 MB / 252.7 MB, free: 5.453 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.005388, allocations: 0.6086 MB / 253.3 MB, free: 4.836 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.005514, allocations: 4 kB / 253.3 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.005698, allocations: 43.52 kB / 253.4 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.005861, allocations: 67.36 kB / 253.4 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.006145, allocations: 59.84 kB / 253.5 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.006521, allocations: 262.7 kB / 253.8 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.00671, allocations: 65.7 kB / 253.8 MB, free: 4.344 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.006956, allocations: 151.7 kB / 254 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.007139, allocations: 83.75 kB / 254.1 MB, free: 4.113 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.007187, allocations: 20 kB / 254.1 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.902e-05/0.007237, allocations: 20 kB / 254.1 MB, free: 4.074 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.007302, allocations: 51.77 kB / 254.1 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.007411, allocations: 83.77 kB / 254.2 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.007794, allocations: 255.2 kB / 254.5 MB, free: 3.691 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.007797, allocations: 0 / 254.5 MB, free: 3.691 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.007798, allocations: 0 / 254.5 MB, free: 3.691 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.007804, allocations: 4 kB / 254.5 MB, free: 3.688 MB / 234.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.0009742/0.008779, allocations: 0.5543 MB / 255 MB, free: 3.098 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.008822, allocations: 11.98 kB / 255 MB, free: 3.086 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.008915, allocations: 44.8 kB / 255.1 MB, free: 3.043 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.00922, allocations: 184.8 kB / 255.3 MB, free: 2.832 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.009245, allocations: 16.88 kB / 255.3 MB, free: 2.812 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.009295, allocations: 28.38 kB / 255.3 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.009732, allocations: 220.4 kB / 255.5 MB, free: 2.559 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.009748, allocations: 192 / 255.5 MB, free: 2.559 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.009777, allocations: 15.92 kB / 255.5 MB, free: 2.543 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.009786, allocations: 4 kB / 255.6 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.01012, allocations: 139.8 kB / 255.7 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.01156, allocations: 0.8049 MB / 256.5 MB, free: 1.543 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.01204, allocations: 206 kB / 256.7 MB, free: 1.316 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.0123, allocations: 103.3 kB / 256.8 MB, free: 1.207 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.01233, allocations: 4 kB / 256.8 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.01236, allocations: 37.39 kB / 256.8 MB, free: 1.156 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.01237, allocations: 4 kB / 256.8 MB, free: 1.152 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.001928/0.01429, allocations: 0.7337 MB / 257.6 MB, free: 372 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.01436, allocations: 89.03 kB / 257.7 MB, free: 264 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.01457, allocations: 225.9 kB / 257.9 MB, free: 20 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.01462, allocations: 29.7 kB / 257.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.01477, allocations: 199.1 kB / 258.1 MB, free: 15.79 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.01489, allocations: 103.1 kB / 258.2 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.01499, allocations: 59.36 kB / 258.3 MB, free: 15.62 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002876/0.01527, allocations: 0.5118 MB / 258.8 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.01543, allocations: 63.95 kB / 258.8 MB, free: 15.03 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.01562, allocations: 122.4 kB / 259 MB, free: 14.89 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.01601, allocations: 210.3 kB / 259.2 MB, free: 14.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01602, allocations: 0 / 259.2 MB, free: 14.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004708/0.01649, allocations: 245.3 kB / 259.4 MB, free: 14.42 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.0165, allocations: 7.281 kB / 259.4 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.01651, allocations: 4.031 kB / 259.4 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.01653, allocations: 8 kB / 259.4 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.01682, allocations: 63.91 kB / 259.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.01682, allocations: 0 / 259.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.01693, allocations: 8 kB / 259.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.01695, allocations: 8 kB / 259.5 MB, free: 14.32 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 0.0001683/0.01712, allocations: 184.5 kB / 259.7 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.01719, allocations: 27.89 kB / 259.7 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/0.01727, allocations: 33.75 kB / 259.7 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.01728, allocations: 4 kB / 259.7 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01728, allocations: 4 kB / 259.7 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01729, allocations: 0 / 259.7 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009488/0.01824, allocations: 0.5937 MB / 260.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01824, allocations: 0 / 260.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.01852, allocations: 55.91 kB / 260.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.01852, allocations: 4 kB / 260.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.01854, allocations: 4 kB / 260.4 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.01854, allocations: 4 kB / 260.4 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.01855, allocations: 8.031 kB / 260.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.01935, allocations: 0.5918 MB / 261 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.01938, allocations: 15.86 kB / 261 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.01941, allocations: 8 kB / 261 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.01957, allocations: 11.98 kB / 261 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.01964, allocations: 23.91 kB / 261.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.01966, allocations: 4 kB / 261.1 MB, free: 12.65 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.0198, allocations: 172.2 kB / 261.2 MB, free: 12.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0198, allocations: 0 / 261.2 MB, free: 12.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.02014, allocations: 55.94 kB / 261.3 MB, free: 12.43 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 0.0001543/0.02029, allocations: 103.2 kB / 261.4 MB, free: 12.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000456/0.02075, allocations: 179.5 kB / 261.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02075, allocations: 0 / 261.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.02095, allocations: 107.7 kB / 261.7 MB, free: 12.03 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.02146, allocations: 44.28 kB / 261.7 MB, free: 11.99 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.02271, allocations: 0.6094 MB / 262.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.02289, allocations: 141.8 kB / 262.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.945e-05/0.02298, allocations: 17.94 kB / 262.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.02304, allocations: 20.5 kB / 262.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02304, allocations: 0 / 262.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of Templates: time 0.006445/0.02949, allocations: 1.978 MB / 264.5 MB, free: 9.18 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.162916123052128]