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.001272/0.001272, allocations: 72.06 kB / 21.24 MB, free: 0.543 MB / 14.72 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.001447/0.001447, allocations: 150.5 kB / 24.48 MB, free: 3.719 MB / 14.72 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.414/1.414, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001543/0.001543, allocations: 55.56 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08692/0.08847, allocations: 52.15 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003576/0.09204, allocations: 2.304 MB / 373.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.09298, allocations: 0.5376 MB / 374.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.09309, allocations: 11.94 kB / 374.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.09322, allocations: 35.58 kB / 374.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.09335, allocations: 67.41 kB / 374.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.09357, allocations: 67.86 kB / 374.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.09387, allocations: 250.9 kB / 374.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.09403, allocations: 69.64 kB / 374.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.09418, allocations: 103.6 kB / 375 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.09435, allocations: 91.53 kB / 375.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.09438, allocations: 20 kB / 375.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.067e-05/0.09442, allocations: 20 kB / 375.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.09448, allocations: 51.83 kB / 375.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.09458, allocations: 95.53 kB / 375.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.09488, allocations: 262.9 kB / 375.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.09489, allocations: 4 kB / 375.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09489, allocations: 0 / 375.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.09489, allocations: 0 / 375.5 MB, free: 3.359 MB / 334.1 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.0007591/0.09565, allocations: 457.6 kB / 376 MB, free: 2.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.09568, allocations: 8.031 kB / 376 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.09574, allocations: 28.75 kB / 376 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.09601, allocations: 170.9 kB / 376.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.09603, allocations: 20.88 kB / 376.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.09607, allocations: 24.33 kB / 376.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.09649, allocations: 218.1 kB / 376.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.0965, allocations: 7.938 kB / 376.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.09652, allocations: 4 kB / 376.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.09653, allocations: 4 kB / 376.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.09687, allocations: 147.9 kB / 376.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.09795, allocations: 0.6662 MB / 377.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.09835, allocations: 189 kB / 377.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.09858, allocations: 101.6 kB / 377.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.0986, allocations: 0 / 377.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.09863, allocations: 46.5 kB / 377.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.09863, allocations: 3.938 kB / 377.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001516/0.1001, allocations: 0.7161 MB / 378.3 MB, free: 380 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.1002, allocations: 81.11 kB / 378.4 MB, free: 280 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1004, allocations: 154.3 kB / 378.5 MB, free: 116 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1004, allocations: 37.7 kB / 378.6 MB, free: 72 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1005, allocations: 144.6 kB / 378.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.1006, allocations: 95.17 kB / 378.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.1006, allocations: 45.7 kB / 378.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1008, allocations: 330.8 kB / 379.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.1009, allocations: 67.91 kB / 379.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.1011, allocations: 112.2 kB / 379.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.1015, allocations: 199.4 kB / 379.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1015, allocations: 0 / 379.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004335/0.1019, allocations: 241.3 kB / 379.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1019, allocations: 8 kB / 379.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1019, allocations: 0 / 379.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.1019, allocations: 7.984 kB / 379.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.1022, allocations: 60 kB / 379.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1022, allocations: 4 kB / 379.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1023, allocations: 11.94 kB / 379.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.1023, allocations: 12 kB / 379.9 MB, free: 14.71 MB / 350.1 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.0001287/0.1025, allocations: 141.8 kB / 380 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.1025, allocations: 23.8 kB / 380 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.1026, allocations: 25.81 kB / 380.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1026, allocations: 4 kB / 380.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1026, allocations: 0 / 380.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1026, allocations: 3.984 kB / 380.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/0.1034, allocations: 0.4886 MB / 380.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1034, allocations: 4 kB / 380.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.1036, allocations: 55.97 kB / 380.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1036, allocations: 0 / 380.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.1037, allocations: 11.98 kB / 380.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.1037, allocations: 7.938 kB / 380.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1037, allocations: 0 / 380.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.1043, allocations: 496.5 kB / 381.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.1044, allocations: 19.86 kB / 381.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.1044, allocations: 4 kB / 381.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.1046, allocations: 16.03 kB / 381.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.1046, allocations: 19.94 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.1046, allocations: 15.98 kB / 381.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.86e-05/0.1047, allocations: 120.2 kB / 381.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1047, allocations: 0 / 381.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.1051, allocations: 55.94 kB / 381.4 MB, free: 13.13 MB / 350.1 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.000108/0.1052, allocations: 111.1 kB / 381.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.1056, allocations: 167.8 kB / 381.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1056, allocations: 4 kB / 381.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.1057, allocations: 91.83 kB / 381.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.1062, allocations: 45.05 kB / 381.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1073, allocations: 0.6841 MB / 382.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.1074, allocations: 133.9 kB / 382.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.746e-05/0.1075, allocations: 21.94 kB / 382.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.1076, allocations: 20.5 kB / 382.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1076, allocations: 0 / 382.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Templates: time 0.005411/0.113, allocations: 1.977 MB / 384.6 MB, free: 9.855 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.2118774390546605]