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.001491/0.001491, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001478/0.001478, allocations: 140.3 kB / 24.97 MB, free: 8.359 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 1.075/1.075, allocations: 173.4 MB / 201.5 MB, free: 9.328 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.924e-06/1.924e-06, allocations: 0 / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.12e-05, allocations: 6.25 kB / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00318/0.003211, allocations: 2.438 MB / 270.5 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.004316, allocations: 0.5686 MB / 271.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.004468, allocations: 4 kB / 271.1 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.004658, allocations: 43.58 kB / 271.1 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.004794, allocations: 67.3 kB / 271.2 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.005126, allocations: 63.91 kB / 271.2 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.00547, allocations: 262.7 kB / 271.5 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.005667, allocations: 65.64 kB / 271.6 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.005875, allocations: 155.7 kB / 271.7 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.005996, allocations: 79.78 kB / 271.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.00603, allocations: 20 kB / 271.8 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.006054, allocations: 20 kB / 271.8 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.006094, allocations: 43.83 kB / 271.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.006167, allocations: 79.83 kB / 272 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.006403, allocations: 175.2 kB / 272.1 MB, free: 2.656 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.006407, allocations: 4 kB / 272.1 MB, free: 2.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.006408, allocations: 0 / 272.1 MB, free: 2.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.006414, allocations: 0 / 272.1 MB, free: 2.652 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.0006212/0.007035, allocations: 0.5429 MB / 272.7 MB, free: 2.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.007073, allocations: 8.031 kB / 272.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.779e-05/0.007151, allocations: 44.8 kB / 272.7 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.007393, allocations: 188.8 kB / 272.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.007412, allocations: 16.88 kB / 272.9 MB, free: 1.789 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.007455, allocations: 20.38 kB / 272.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.007753, allocations: 193.1 kB / 273.1 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.007767, allocations: 4.188 kB / 273.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.007788, allocations: 11.94 kB / 273.1 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.0078, allocations: 4 kB / 273.1 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.007937, allocations: 75.88 kB / 273.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.008815, allocations: 0.7424 MB / 274 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.009112, allocations: 161.9 kB / 274.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.00928, allocations: 67.34 kB / 274.2 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.009304, allocations: 4 kB / 274.2 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.009335, allocations: 41.39 kB / 274.2 MB, free: 372 kB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 2.314e-06/0.009337, allocations: 0 / 274.2 MB, free: 372 kB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.001032/0.01037, allocations: 0.6158 MB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.01041, allocations: 85.05 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.01056, allocations: 217.9 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.01057, allocations: 33.7 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.01066, allocations: 187.2 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.01072, allocations: 95.17 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.01078, allocations: 59.3 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.01091, allocations: 0.5 MB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.01097, allocations: 35.97 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.518e-05/0.01106, allocations: 90.39 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.01123, allocations: 142.3 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01123, allocations: 0 / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002367/0.01147, allocations: 192.5 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.01149, allocations: 4 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.01149, allocations: 3.938 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01151, allocations: 4 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.01167, allocations: 64 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.01168, allocations: 0 / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.01173, allocations: 15.89 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.01175, allocations: 15.98 kB / 276.6 MB, free: 13.86 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 9.737e-05/0.01184, allocations: 168.5 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.01189, allocations: 27.91 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.01193, allocations: 29.75 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01193, allocations: 4 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01194, allocations: 0 / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.01195, allocations: 3.984 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.01247, allocations: 0.5227 MB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01248, allocations: 0 / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.01263, allocations: 55.91 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01264, allocations: 0 / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.01265, allocations: 8 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.01266, allocations: 4 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01266, allocations: 400 / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.01304, allocations: 0.498 MB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.01306, allocations: 19.94 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.01308, allocations: 8 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.01317, allocations: 8 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.01322, allocations: 27.89 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.01323, allocations: 4 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.995e-05/0.0133, allocations: 164.2 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0133, allocations: 0 / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002472/0.01355, allocations: 59.88 kB / 278.2 MB, free: 12.16 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.0001054/0.01366, allocations: 99.25 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.01387, allocations: 127.5 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.01387, allocations: 0 / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.01395, allocations: 79.52 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.01431, allocations: 31.98 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.01533, allocations: 0.5995 MB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.572e-05/0.0154, allocations: 83.98 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.01547, allocations: 25.92 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.01552, allocations: 20.5 kB / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of SimCode: time 1.523e-06/0.01552, allocations: 0 / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of Templates: time 0.004488/0.02, allocations: 1.985 MB / 281.2 MB, free: 9.066 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.848633446963504]