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.0007609/0.0007609, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001963/0.002724, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001175/0.001175, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002528, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8944/0.8944, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07965/0.974, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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 9.52e-07/9.52e-07, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.119e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002289/0.0023, allocations: 2.487 MB / 247.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008491/0.003149, allocations: 0.6619 MB / 247.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.003231, allocations: 7.938 kB / 247.9 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.363e-05/0.003295, allocations: 47.52 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.392e-05/0.003388, allocations: 67.36 kB / 248 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.003538, allocations: 83.75 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.003734, allocations: 266.7 kB / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.00383, allocations: 75.64 kB / 248.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.004009, allocations: 168.4 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.004097, allocations: 75.78 kB / 248.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.004119, allocations: 20 kB / 248.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.004177, allocations: 31.97 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.004207, allocations: 35.88 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.004253, allocations: 71.81 kB / 248.8 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.00441, allocations: 163.3 kB / 248.9 MB, free: 9.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.004417, allocations: 0 / 248.9 MB, free: 9.969 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004417, allocations: 0 / 248.9 MB, free: 9.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.004424, allocations: 4 kB / 248.9 MB, free: 9.965 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.0003982/0.004822, allocations: 479.9 kB / 249.4 MB, free: 9.473 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.211e-05/0.004844, allocations: 12.03 kB / 249.4 MB, free: 9.461 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.004986, allocations: 126 kB / 249.5 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.005128, allocations: 181.3 kB / 249.7 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.005139, allocations: 16.88 kB / 249.7 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.005163, allocations: 20.38 kB / 249.8 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.005317, allocations: 186.7 kB / 249.9 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.005324, allocations: 4 kB / 249.9 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.005334, allocations: 4 kB / 249.9 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.005339, allocations: 4 kB / 249.9 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.005411, allocations: 59.97 kB / 250 MB, free: 8.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.005888, allocations: 0.5371 MB / 250.5 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.006036, allocations: 129.2 kB / 250.7 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.006106, allocations: 61.67 kB / 250.7 MB, free: 8.035 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.006119, allocations: 4 kB / 250.7 MB, free: 8.031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.006134, allocations: 38.5 kB / 250.8 MB, free: 7.984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.002e-06/0.006135, allocations: 0 / 250.8 MB, free: 7.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006302/0.006765, allocations: 0.5287 MB / 251.3 MB, free: 7.406 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.006808, allocations: 85.09 kB / 251.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.006879, allocations: 175 kB / 251.6 MB, free: 7.121 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.006891, allocations: 29.7 kB / 251.6 MB, free: 7.086 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.006935, allocations: 132.4 kB / 251.7 MB, free: 6.949 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.636e-05/0.007012, allocations: 103.1 kB / 251.8 MB, free: 6.848 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.007058, allocations: 49.67 kB / 251.9 MB, free: 6.793 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.007129, allocations: 338.8 kB / 252.2 MB, free: 6.453 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.007154, allocations: 16 kB / 252.2 MB, free: 6.438 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.007202, allocations: 68.19 kB / 252.3 MB, free: 6.355 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.473e-05/0.007297, allocations: 120.2 kB / 252.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007298, allocations: 0 / 252.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001208/0.007419, allocations: 144.5 kB / 252.5 MB, free: 6.078 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.007428, allocations: 7.938 kB / 252.5 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.007433, allocations: 7.984 kB / 252.6 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.582e-06/0.00744, allocations: 0 / 252.6 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.0076, allocations: 67.91 kB / 252.6 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.007604, allocations: 11.92 kB / 252.6 MB, free: 5.984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.007649, allocations: 12.09 kB / 252.6 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.007658, allocations: 8 kB / 252.6 MB, free: 5.965 MB / 250.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.0001281/0.007786, allocations: 121.8 kB / 252.8 MB, free: 5.836 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.00782, allocations: 23.92 kB / 252.8 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.00785, allocations: 29.8 kB / 252.8 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.007852, allocations: 0 / 252.8 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.007855, allocations: 4 kB / 252.8 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.007859, allocations: 0 / 252.8 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.00821, allocations: 376.6 kB / 253.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.008212, allocations: 0 / 253.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.008361, allocations: 71.89 kB / 253.3 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.008379, allocations: 19.86 kB / 253.3 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008381, allocations: 0 / 253.3 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.00839, allocations: 4 kB / 253.3 MB, free: 5.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.008393, allocations: 4 kB / 253.3 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008394, allocations: 0 / 253.3 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.008614, allocations: 361.6 kB / 253.6 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.008632, allocations: 16.02 kB / 253.7 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.008706, allocations: 8 kB / 253.7 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.008738, allocations: 19.91 kB / 253.7 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.008748, allocations: 8 kB / 253.7 MB, free: 4.855 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.692e-05/0.008775, allocations: 42.41 kB / 253.7 MB, free: 4.812 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008775, allocations: 0 / 253.7 MB, free: 4.812 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.008953, allocations: 48 kB / 253.8 MB, free: 4.766 MB / 250.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 6.067e-05/0.009014, allocations: 92.34 kB / 253.9 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.009134, allocations: 110.7 kB / 254 MB, free: 4.555 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.009141, allocations: 7.938 kB / 254 MB, free: 4.547 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.009218, allocations: 88.61 kB / 254.1 MB, free: 4.457 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.009663, allocations: 394.7 kB / 254.5 MB, free: 3.992 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.01107, allocations: 0.4966 MB / 255 MB, free: 3.457 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.01112, allocations: 84.31 kB / 255 MB, free: 3.355 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.036e-05/0.01118, allocations: 25.98 kB / 255.1 MB, free: 3.332 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.225e-05/0.01127, allocations: 83.36 kB / 255.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01127, allocations: 0 / 255.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of Templates: time 0.003381/0.01465, allocations: 2.222 MB / 257.4 MB, free: 1.078 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4877684274688363]