Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001878/0.001878, allocations: 120 kB / 18.46 MB, free: 4.562 MB / 14.72 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.002404/0.002404, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 51.92 kB / 374.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 53.34 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004386/0.1171, allocations: 2.447 MB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1186, allocations: 0.6621 MB / 430.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1187, allocations: 4 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.1188, allocations: 39.58 kB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.119, allocations: 71.34 kB / 430.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1193, allocations: 79.84 kB / 430.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.1196, allocations: 262.8 kB / 431 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.1198, allocations: 73.34 kB / 431.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.12, allocations: 111.6 kB / 431.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1202, allocations: 103.5 kB / 431.3 MB, free: 424 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.1202, allocations: 20 kB / 431.3 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.1203, allocations: 27.98 kB / 431.4 MB, free: 376 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.1204, allocations: 47.78 kB / 431.4 MB, free: 328 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1205, allocations: 115.4 kB / 431.5 MB, free: 212 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2168/0.3373, allocations: 262.9 kB / 431.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3373, allocations: 0 / 431.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3373, allocations: 1.469 kB / 431.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.3373, allocations: 0 / 431.8 MB, free: 8.59 MB / 350.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.0009344/0.3382, allocations: 0.5309 MB / 432.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3383, allocations: 8.562 kB / 432.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.3386, allocations: 47.89 kB / 432.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.3389, allocations: 245.3 kB / 432.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.3389, allocations: 16.84 kB / 432.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.339, allocations: 28.5 kB / 432.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.3394, allocations: 216.1 kB / 432.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.3394, allocations: 0.9062 kB / 432.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.3394, allocations: 11.62 kB / 432.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.3394, allocations: 4.719 kB / 432.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.3398, allocations: 154.7 kB / 433 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.3409, allocations: 0.7817 MB / 433.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.3413, allocations: 191.1 kB / 434 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.3415, allocations: 94.77 kB / 434.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3415, allocations: 0 / 434.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.3416, allocations: 44.47 kB / 434.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.3416, allocations: 0 / 434.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001534/0.3431, allocations: 0.8697 MB / 435 MB, free: 6.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.3431, allocations: 81.55 kB / 435.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.3433, allocations: 181.2 kB / 435.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3433, allocations: 30.27 kB / 435.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.3434, allocations: 135.9 kB / 435.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.3434, allocations: 111 kB / 435.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.3435, allocations: 42.75 kB / 435.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.3435, allocations: 334.4 kB / 435.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.3437, allocations: 65.05 kB / 436 MB, free: 6.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.3438, allocations: 118.3 kB / 436.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.3441, allocations: 180.5 kB / 436.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3441, allocations: 3.812 kB / 436.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004621/0.3446, allocations: 249.1 kB / 436.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3446, allocations: 16.84 kB / 436.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3446, allocations: 2.344 kB / 436.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3447, allocations: 1.438 kB / 436.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.3449, allocations: 59.17 kB / 436.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3449, allocations: 2.125 kB / 436.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3451, allocations: 11.52 kB / 436.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3451, allocations: 12.03 kB / 436.6 MB, free: 5.961 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 9.425e-05/0.3452, allocations: 139.8 kB / 436.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.3452, allocations: 26.8 kB / 436.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.597e-05/0.3453, allocations: 29.23 kB / 436.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.3453, allocations: 3.188 kB / 436.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3453, allocations: 0 / 436.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3453, allocations: 2.062 kB / 436.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007279/0.346, allocations: 0.5836 MB / 437.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.346, allocations: 2.312 kB / 437.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.3463, allocations: 60.11 kB / 437.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3463, allocations: 3.156 kB / 437.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3463, allocations: 8.562 kB / 437.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3463, allocations: 1.938 kB / 437.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3463, allocations: 5.906 kB / 437.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.347, allocations: 497 kB / 437.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.3471, allocations: 98.94 kB / 438 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.3471, allocations: 6.312 kB / 438.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3473, allocations: 11.56 kB / 438.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.3473, allocations: 24.8 kB / 438.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3474, allocations: 8.547 kB / 438.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.9e-05/0.3474, allocations: 138.2 kB / 438.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3474, allocations: 1.781 kB / 438.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.3478, allocations: 53.23 kB / 438.3 MB, free: 5.035 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.0001001/0.3479, allocations: 104.6 kB / 438.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004194/0.3483, allocations: 173.7 kB / 438.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3483, allocations: 1.25 kB / 438.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.3485, allocations: 93.06 kB / 438.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.349, allocations: 38.84 kB / 438.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.3502, allocations: 0.7273 MB / 439.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.3504, allocations: 0.7476 MB / 440.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.849e-05/0.3504, allocations: 22.55 kB / 440.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3504, allocations: 4 kB / 440.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of Templates: time 0.006542/0.357, allocations: 2.669 MB / 442.9 MB, free: 3.57 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.365564373991219]