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.002013/0.002013, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002375/0.002375, allocations: 164.2 kB / 25.02 MB, free: 8.945 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.415/1.415, allocations: 158.6 MB / 186.8 MB, free: 2.914 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.994e-06/1.994e-06, allocations: 0 / 250.3 MB, free: 7.867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.374e-05, allocations: 2.312 kB / 250.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.005895/0.005928, allocations: 2.276 MB / 252.6 MB, free: 5.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.007668, allocations: 0.5968 MB / 253.2 MB, free: 4.965 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.00783, allocations: 4 kB / 253.2 MB, free: 4.961 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.008051, allocations: 47.52 kB / 253.3 MB, free: 4.914 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.008288, allocations: 67.36 kB / 253.3 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.008636, allocations: 63.89 kB / 253.4 MB, free: 4.785 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.009143, allocations: 262.7 kB / 253.7 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.009386, allocations: 61.7 kB / 253.7 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.009754, allocations: 155.6 kB / 253.9 MB, free: 4.316 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.009973, allocations: 75.78 kB / 253.9 MB, free: 4.242 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.609e-05/0.01004, allocations: 24 kB / 254 MB, free: 4.219 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.084e-05/0.0101, allocations: 20 kB / 254 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.01018, allocations: 47.77 kB / 254 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.01035, allocations: 83.81 kB / 254.1 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.0109, allocations: 259.1 kB / 254.4 MB, free: 3.816 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.0109, allocations: 0 / 254.4 MB, free: 3.816 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01091, allocations: 0 / 254.4 MB, free: 3.816 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.01091, allocations: 0 / 254.4 MB, free: 3.816 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.001265/0.01218, allocations: 457.7 kB / 254.8 MB, free: 3.34 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.01223, allocations: 11.98 kB / 254.8 MB, free: 3.328 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.01237, allocations: 40.8 kB / 254.9 MB, free: 3.289 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.01288, allocations: 182.1 kB / 255 MB, free: 3.086 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.01291, allocations: 12.88 kB / 255.1 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.471e-05/0.013, allocations: 20.38 kB / 255.1 MB, free: 3.051 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.0137, allocations: 214.7 kB / 255.3 MB, free: 2.832 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.01372, allocations: 8.188 kB / 255.3 MB, free: 2.824 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.01376, allocations: 11.94 kB / 255.3 MB, free: 2.812 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.01378, allocations: 11.92 kB / 255.3 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.01435, allocations: 147.8 kB / 255.5 MB, free: 2.656 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.01619, allocations: 0.6702 MB / 256.1 MB, free: 1.938 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.01688, allocations: 193 kB / 256.3 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.01727, allocations: 93.66 kB / 256.4 MB, free: 1.629 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.01731, allocations: 4 kB / 256.4 MB, free: 1.625 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.01735, allocations: 34.56 kB / 256.4 MB, free: 1.582 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.01735, allocations: 0 / 256.4 MB, free: 1.582 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.002613/0.01996, allocations: 0.7286 MB / 257.2 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.501e-05/0.02006, allocations: 89.05 kB / 257.3 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.02031, allocations: 154.3 kB / 257.4 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.02036, allocations: 33.7 kB / 257.4 MB, free: 0.5 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.02053, allocations: 144.4 kB / 257.6 MB, free: 364 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.02067, allocations: 99.31 kB / 257.7 MB, free: 264 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.0208, allocations: 45.7 kB / 257.7 MB, free: 212 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002919/0.02109, allocations: 330.8 kB / 258.1 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.02136, allocations: 67.95 kB / 258.1 MB, free: 15.81 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.02167, allocations: 108.2 kB / 258.2 MB, free: 15.69 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000613/0.02229, allocations: 188.2 kB / 258.4 MB, free: 15.49 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.02229, allocations: 0 / 258.4 MB, free: 15.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007882/0.02308, allocations: 257.3 kB / 258.7 MB, free: 15.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.0231, allocations: 7.281 kB / 258.7 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.02311, allocations: 7.938 kB / 258.7 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.02314, allocations: 0 / 258.7 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.02358, allocations: 63.91 kB / 258.7 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.0236, allocations: 4 kB / 258.7 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.02379, allocations: 15.92 kB / 258.8 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.02382, allocations: 12 kB / 258.8 MB, free: 15.12 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.0002078/0.02403, allocations: 133.8 kB / 258.9 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.02418, allocations: 27.97 kB / 258.9 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.02428, allocations: 33.73 kB / 259 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.02428, allocations: 4 kB / 259 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.02429, allocations: 0 / 259 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.02429, allocations: 0 / 259 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.02566, allocations: 0.4964 MB / 259.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.02566, allocations: 4 kB / 259.5 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.02614, allocations: 55.91 kB / 259.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.02615, allocations: 12.08 kB / 259.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.02618, allocations: 4 kB / 259.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.02618, allocations: 4 kB / 259.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.02619, allocations: 4.328 kB / 259.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.02737, allocations: 0.493 MB / 260 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.02741, allocations: 15.91 kB / 260 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.02747, allocations: 8 kB / 260.1 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.02777, allocations: 8 kB / 260.1 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.02788, allocations: 31.94 kB / 260.1 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.02791, allocations: 4 kB / 260.1 MB, free: 13.71 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.0281, allocations: 124.2 kB / 260.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0281, allocations: 0 / 260.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006305/0.02873, allocations: 55.94 kB / 260.3 MB, free: 13.53 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.0001999/0.02893, allocations: 99.19 kB / 260.4 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006563/0.02959, allocations: 179.9 kB / 260.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02959, allocations: 0 / 260.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.0299, allocations: 91.83 kB / 260.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.03072, allocations: 35.92 kB / 260.7 MB, free: 13.12 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.03245, allocations: 0.5931 MB / 261.3 MB, free: 12.49 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.03268, allocations: 133.9 kB / 261.4 MB, free: 12.34 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.03283, allocations: 25.94 kB / 261.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.03294, allocations: 24.48 kB / 261.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.03294, allocations: 0 / 261.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of Templates: time 0.008917/0.04186, allocations: 1.982 MB / 263.4 MB, free: 10.33 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=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.450669062905945]