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.001917/0.001917, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001927/0.001927, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 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.53/1.53, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 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 1.513e-06/1.513e-06, allocations: 0 / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.65e-05, allocations: 2.312 kB / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004038/0.004065, allocations: 2.403 MB / 269.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.00516, allocations: 0.5647 MB / 270.3 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.005269, allocations: 11.94 kB / 270.3 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.005416, allocations: 39.58 kB / 270.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.005571, allocations: 67.36 kB / 270.4 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.005854, allocations: 63.84 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.006182, allocations: 266.7 kB / 270.7 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.006353, allocations: 65.64 kB / 270.8 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.006604, allocations: 155.7 kB / 270.9 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.006771, allocations: 75.77 kB / 271 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.006815, allocations: 20 kB / 271 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.355e-05/0.006858, allocations: 20 kB / 271 MB, free: 3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.00692, allocations: 51.77 kB / 271.1 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.007025, allocations: 75.83 kB / 271.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.007384, allocations: 263.1 kB / 271.4 MB, free: 2.617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.007386, allocations: 4 kB / 271.4 MB, free: 2.613 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007388, allocations: 0 / 271.4 MB, free: 2.613 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.007392, allocations: 0 / 271.4 MB, free: 2.613 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.000905/0.008297, allocations: 0.566 MB / 272 MB, free: 2.008 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.008333, allocations: 8.031 kB / 272 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.972e-05/0.008422, allocations: 40.8 kB / 272 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.008715, allocations: 181 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.008738, allocations: 16.88 kB / 272.2 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.008788, allocations: 24.33 kB / 272.2 MB, free: 1.715 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.009225, allocations: 228.3 kB / 272.5 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.00924, allocations: 192 / 272.5 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.009264, allocations: 11.94 kB / 272.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.009273, allocations: 11.94 kB / 272.5 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.00961, allocations: 131.9 kB / 272.6 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.01093, allocations: 0.8049 MB / 273.4 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.01139, allocations: 213.9 kB / 273.6 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.01164, allocations: 103.3 kB / 273.7 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.01166, allocations: 8 kB / 273.7 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.0117, allocations: 33.39 kB / 273.8 MB, free: 76 kB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.0117, allocations: 0 / 273.8 MB, free: 76 kB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.00178/0.01348, allocations: 0.7299 MB / 274.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.01354, allocations: 85.09 kB / 274.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.01375, allocations: 233.9 kB / 274.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.01378, allocations: 29.7 kB / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.01392, allocations: 191.2 kB / 275 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/0.01402, allocations: 103.3 kB / 275.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.863e-05/0.01412, allocations: 59.36 kB / 275.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002837/0.0144, allocations: 0.5118 MB / 275.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.01455, allocations: 63.91 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.01475, allocations: 126.4 kB / 275.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.01512, allocations: 206.3 kB / 276.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.01512, allocations: 0 / 276.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004913/0.01561, allocations: 244.5 kB / 276.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.01564, allocations: 14.91 kB / 276.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.01564, allocations: 3.938 kB / 276.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.01566, allocations: 4 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.01592, allocations: 55.91 kB / 276.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.01593, allocations: 4 kB / 276.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.01604, allocations: 15.89 kB / 276.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.01606, allocations: 12 kB / 276.4 MB, free: 13.24 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 0.0001792/0.01624, allocations: 184.5 kB / 276.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.01632, allocations: 27.91 kB / 276.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.454e-05/0.01639, allocations: 33.75 kB / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.0164, allocations: 4 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.0164, allocations: 0 / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.01641, allocations: 7.922 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009591/0.01737, allocations: 0.5774 MB / 277.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.01737, allocations: 4 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.01765, allocations: 59.91 kB / 277.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01765, allocations: 0 / 277.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.01767, allocations: 12.09 kB / 277.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.01768, allocations: 4 kB / 277.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01768, allocations: 4 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007757/0.01845, allocations: 0.5844 MB / 277.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.01849, allocations: 19.84 kB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.01853, allocations: 11.98 kB / 278 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.01868, allocations: 4 kB / 278 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.01874, allocations: 19.97 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.01876, allocations: 8 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.01889, allocations: 168.2 kB / 278.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01889, allocations: 0 / 278.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003492/0.01924, allocations: 55.94 kB / 278.2 MB, free: 11.37 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.0001435/0.01938, allocations: 107.2 kB / 278.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.0198, allocations: 183.5 kB / 278.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0198, allocations: 0 / 278.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.02, allocations: 108.7 kB / 278.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.02048, allocations: 35.97 kB / 278.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.02167, allocations: 0.606 MB / 279.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.02182, allocations: 141.8 kB / 279.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.304e-05/0.0219, allocations: 13.95 kB / 279.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.02197, allocations: 20.5 kB / 279.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of SimCode: time 6.02e-07/0.02197, allocations: 4 kB / 279.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of Templates: time 0.005935/0.0279, allocations: 1.987 MB / 281.4 MB, free: 8.117 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","/var/lib/jenkins/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.406063710106537]