Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001832/0.001832, allocations: 115.7 kB / 19.18 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002198/0.002198, allocations: 201 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.89 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1096, allocations: 53.32 MB / 427.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004317/0.1139, allocations: 2.451 MB / 430.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1154, allocations: 0.6621 MB / 430.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.1156, allocations: 4 kB / 430.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1158, allocations: 43.58 kB / 431 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1159, allocations: 63.36 kB / 431 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.1163, allocations: 75.89 kB / 431.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.1166, allocations: 254.8 kB / 431.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.1168, allocations: 77.34 kB / 431.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.117, allocations: 115.6 kB / 431.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1172, allocations: 111.5 kB / 431.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.1172, allocations: 20 kB / 431.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.684e-05/0.1173, allocations: 24 kB / 431.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.1174, allocations: 51.78 kB / 431.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.1175, allocations: 115.4 kB / 431.9 MB, free: 436 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.1178, allocations: 262.9 kB / 432.1 MB, free: 172 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1178, allocations: 0 / 432.1 MB, free: 172 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1178, allocations: 0 / 432.1 MB, free: 172 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1178, allocations: 4 kB / 432.1 MB, free: 168 kB / 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.1897/0.3075, allocations: 0.5297 MB / 432.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3075, allocations: 8.844 kB / 432.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.3078, allocations: 47.88 kB / 432.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.3082, allocations: 242.1 kB / 432.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3082, allocations: 17.53 kB / 433 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.3083, allocations: 28.02 kB / 433 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.3087, allocations: 218.5 kB / 433.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3087, allocations: 3.984 kB / 433.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.3087, allocations: 7.375 kB / 433.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.3087, allocations: 5 kB / 433.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.3091, allocations: 150.1 kB / 433.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.3101, allocations: 0.7865 MB / 434.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.3105, allocations: 189.6 kB / 434.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3107, allocations: 99.25 kB / 434.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3107, allocations: 2.25 kB / 434.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.3107, allocations: 36.81 kB / 434.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.3107, allocations: 1.625 kB / 434.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001402/0.3121, allocations: 0.8724 MB / 435.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.3121, allocations: 85.16 kB / 435.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3123, allocations: 178.8 kB / 435.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3123, allocations: 30.3 kB / 435.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.3124, allocations: 137.7 kB / 435.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.3124, allocations: 106.2 kB / 435.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.3125, allocations: 47.89 kB / 435.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.3125, allocations: 327.9 kB / 436.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.3127, allocations: 66.72 kB / 436.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3128, allocations: 111.5 kB / 436.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.3131, allocations: 193.2 kB / 436.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3131, allocations: 1.156 kB / 436.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003713/0.3135, allocations: 247.5 kB / 436.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3135, allocations: 8.531 kB / 436.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.3135, allocations: 1.562 kB / 436.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3135, allocations: 2.469 kB / 436.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.3138, allocations: 66.89 kB / 436.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3138, allocations: 2.281 kB / 436.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.3139, allocations: 11.34 kB / 436.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.3139, allocations: 11.67 kB / 436.9 MB, free: 9.16 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.188e-05/0.314, allocations: 134.6 kB / 437.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.3141, allocations: 27.08 kB / 437.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.3141, allocations: 29.92 kB / 437.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3141, allocations: 3.656 kB / 437.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3141, allocations: 4.906 kB / 437.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3141, allocations: 1.094 kB / 437.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.3149, allocations: 0.5853 MB / 437.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3149, allocations: 1.906 kB / 437.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.3151, allocations: 56.97 kB / 437.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3151, allocations: 3.781 kB / 437.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3152, allocations: 10.41 kB / 437.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3152, allocations: 2.406 kB / 437.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3152, allocations: 5.219 kB / 437.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.3157, allocations: 497.3 kB / 438.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.3158, allocations: 99.42 kB / 438.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.3158, allocations: 4.812 kB / 438.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.316, allocations: 9.719 kB / 438.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.316, allocations: 27.56 kB / 438.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.316, allocations: 5.891 kB / 438.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.787e-05/0.3161, allocations: 142.1 kB / 438.6 MB, free: 8 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3161, allocations: 0 / 438.6 MB, free: 8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.3165, allocations: 50.59 kB / 438.6 MB, free: 7.992 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.000115/0.3166, allocations: 103.2 kB / 438.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.317, allocations: 181.7 kB / 438.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.317, allocations: 1 kB / 438.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.3172, allocations: 95.78 kB / 439 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.3177, allocations: 34.73 kB / 439 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.3187, allocations: 0.7189 MB / 439.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.3189, allocations: 0.7418 MB / 440.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.319, allocations: 26.91 kB / 440.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.319, allocations: 4 kB / 440.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of Templates: time 0.006203/0.3252, allocations: 2.674 MB / 443.2 MB, free: 6.383 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 6.949548979988322]