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.0008411/0.0008411, allocations: 91.61 kB / 22.19 MB, free: 2.383 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.0008686/0.0008686, allocations: 161.7 kB / 25.45 MB, free: 9.348 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 0.8025/0.8025, allocations: 158.6 MB / 187.2 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.813e-06/1.813e-06, allocations: 0 / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.34e-05, allocations: 3.969 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002358/0.002381, allocations: 2.264 MB / 302 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008187/0.0032, allocations: 0.593 MB / 302.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.003314, allocations: 4 kB / 302.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.003436, allocations: 47.52 kB / 302.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.851e-05/0.003535, allocations: 63.36 kB / 302.7 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.003742, allocations: 63.84 kB / 302.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.003961, allocations: 270.7 kB / 303 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.00411, allocations: 65.69 kB / 303 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.004267, allocations: 147.7 kB / 303.2 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.004369, allocations: 75.77 kB / 303.3 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.004401, allocations: 20 kB / 303.3 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.049e-05/0.004422, allocations: 20 kB / 303.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.004454, allocations: 47.83 kB / 303.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.004512, allocations: 83.75 kB / 303.4 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.004727, allocations: 259.1 kB / 303.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.004729, allocations: 0 / 303.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.00473, allocations: 0 / 303.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004734, allocations: 8 kB / 303.7 MB, free: 2.895 MB / 282.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.0005152/0.005249, allocations: 453.6 kB / 304.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.005282, allocations: 11.98 kB / 304.2 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.005325, allocations: 32.69 kB / 304.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.005543, allocations: 178.1 kB / 304.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.005556, allocations: 16.88 kB / 304.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.005593, allocations: 24.38 kB / 304.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.00619, allocations: 222.7 kB / 304.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.006207, allocations: 4.141 kB / 304.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.006229, allocations: 15.94 kB / 304.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.006235, allocations: 4 kB / 304.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.006433, allocations: 143.8 kB / 304.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007147/0.007147, allocations: 0.6663 MB / 305.4 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.007418, allocations: 189 kB / 305.6 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.007559, allocations: 97.86 kB / 305.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.007576, allocations: 4 kB / 305.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.007595, allocations: 38.56 kB / 305.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.352e-06/0.007596, allocations: 0 / 305.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009754/0.008572, allocations: 0.7098 MB / 306.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.008607, allocations: 81.11 kB / 306.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.008696, allocations: 154.3 kB / 306.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.008709, allocations: 29.7 kB / 306.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.008775, allocations: 148.4 kB / 306.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.008821, allocations: 107.1 kB / 307 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.00887, allocations: 49.7 kB / 307 MB, free: 15.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.008954, allocations: 330.8 kB / 307.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.714e-05/0.009041, allocations: 59.97 kB / 307.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.009145, allocations: 116.2 kB / 307.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.009342, allocations: 184.2 kB / 307.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009344, allocations: 8 kB / 307.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002455/0.00959, allocations: 233.4 kB / 307.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.009602, allocations: 4 kB / 307.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.009607, allocations: 7.75 kB / 308 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.009619, allocations: 0 / 308 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.009759, allocations: 67.89 kB / 308 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.009766, allocations: 7.938 kB / 308 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.009816, allocations: 12.09 kB / 308 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.009826, allocations: 8 kB / 308 MB, free: 14.24 MB / 298.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 8.071e-05/0.009907, allocations: 133.8 kB / 308.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.009939, allocations: 23.8 kB / 308.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.009976, allocations: 37.67 kB / 308.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.009979, allocations: 4 kB / 308.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.009983, allocations: 0 / 308.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.009987, allocations: 0 / 308.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.01047, allocations: 0.4958 MB / 308.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01047, allocations: 0 / 308.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.01061, allocations: 63.91 kB / 308.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01061, allocations: 0 / 308.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01063, allocations: 8 kB / 308.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01063, allocations: 0 / 308.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01063, allocations: 7.984 kB / 308.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.01102, allocations: 493.1 kB / 309.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.01103, allocations: 23.88 kB / 309.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.01105, allocations: 8 kB / 309.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.01114, allocations: 8.047 kB / 309.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.01118, allocations: 23.95 kB / 309.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.01119, allocations: 8 kB / 309.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.52e-05/0.01124, allocations: 124.4 kB / 309.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01124, allocations: 0 / 309.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002152/0.01146, allocations: 52 kB / 309.5 MB, free: 12.67 MB / 298.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.673e-05/0.01153, allocations: 107.2 kB / 309.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.01176, allocations: 171.8 kB / 309.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01177, allocations: 0 / 309.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.01186, allocations: 87.83 kB / 309.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.01217, allocations: 40.58 kB / 309.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.01287, allocations: 0.6127 MB / 310.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.747e-05/0.01295, allocations: 137.7 kB / 310.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.013, allocations: 24.5 kB / 310.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.013, allocations: 0 / 310.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of Templates: time 0.003207/0.01621, allocations: 2.694 MB / 313.4 MB, free: 8.734 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] 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.292717854492366]