Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001686/0.001686, allocations: 101.5 kB / 21.93 MB, free: 5.203 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.002369/0.002369, allocations: 202.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 207.7 MB / 236.1 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 62.58 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2621, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003434/0.2655, allocations: 2.273 MB / 399.9 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2666, allocations: 0.5935 MB / 400.5 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.2667, allocations: 8.156 kB / 400.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2669, allocations: 38.33 kB / 400.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.267, allocations: 64.08 kB / 400.6 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.2673, allocations: 74.47 kB / 400.6 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.2676, allocations: 248.8 kB / 400.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.2677, allocations: 66.44 kB / 400.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.2679, allocations: 108.3 kB / 401 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.2681, allocations: 93.19 kB / 401.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.2681, allocations: 20.09 kB / 401.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.207e-05/0.2682, allocations: 19.38 kB / 401.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.2682, allocations: 50.73 kB / 401.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.337e-05/0.2683, allocations: 92.95 kB / 401.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.2686, allocations: 256.8 kB / 401.6 MB, free: 6.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2686, allocations: 4 kB / 401.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2686, allocations: 1.859 kB / 401.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.2686, allocations: 0 / 401.6 MB, free: 6.902 MB / 318.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.000703/0.2693, allocations: 466.4 kB / 402 MB, free: 6.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2694, allocations: 13.92 kB / 402 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.2694, allocations: 28.81 kB / 402.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.2697, allocations: 175.5 kB / 402.2 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.2697, allocations: 17.31 kB / 402.3 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/0.2698, allocations: 22.92 kB / 402.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.2702, allocations: 221.1 kB / 402.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.2702, allocations: 6.047 kB / 402.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.2702, allocations: 5.031 kB / 402.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.2703, allocations: 5.688 kB / 402.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.2706, allocations: 144.6 kB / 402.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2716, allocations: 0.6569 MB / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.2721, allocations: 190.6 kB / 403.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.2723, allocations: 97.23 kB / 403.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.2724, allocations: 2.188 kB / 403.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.2724, allocations: 37.53 kB / 403.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.966e-06/0.2724, allocations: 0 / 403.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001521/0.2739, allocations: 0.7198 MB / 404.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.2739, allocations: 80.83 kB / 404.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2741, allocations: 165.2 kB / 404.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2741, allocations: 30.8 kB / 404.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.2741, allocations: 154.2 kB / 404.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.2742, allocations: 98.92 kB / 404.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.539e-05/0.2743, allocations: 46.86 kB / 404.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.2744, allocations: 329.6 kB / 405.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.2745, allocations: 64.53 kB / 405.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.2746, allocations: 106 kB / 405.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.2749, allocations: 186.3 kB / 405.6 MB, free: 4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2749, allocations: 0 / 405.6 MB, free: 4 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003887/0.2753, allocations: 254.9 kB / 405.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2754, allocations: 9.469 kB / 405.8 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2754, allocations: 1 kB / 405.8 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.2754, allocations: 6.688 kB / 405.9 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.2756, allocations: 60.31 kB / 405.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2757, allocations: 7.594 kB / 405.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.2758, allocations: 11.27 kB / 405.9 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2758, allocations: 10.67 kB / 405.9 MB, free: 3.855 MB / 318.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.0001037/0.2759, allocations: 137.4 kB / 406.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.276, allocations: 24.95 kB / 406.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.467e-05/0.276, allocations: 27.2 kB / 406.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.276, allocations: 3.516 kB / 406.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.276, allocations: 1.219 kB / 406.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.276, allocations: 3 kB / 406.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.2768, allocations: 0.494 MB / 406.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2768, allocations: 1.375 kB / 406.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.277, allocations: 61.73 kB / 406.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.277, allocations: 2.469 kB / 406.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.2771, allocations: 3.125 kB / 406.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2771, allocations: 3.188 kB / 406.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2771, allocations: 1.219 kB / 406.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.2776, allocations: 0.5037 MB / 407.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.2777, allocations: 18.14 kB / 407.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.2777, allocations: 7.875 kB / 407.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.2778, allocations: 6.688 kB / 407.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.2779, allocations: 27.53 kB / 407.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.2779, allocations: 15.33 kB / 407.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.217e-05/0.278, allocations: 117.8 kB / 407.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.278, allocations: 0 / 407.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.2784, allocations: 50.62 kB / 407.4 MB, free: 2.82 MB / 318.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 9.077e-05/0.2784, allocations: 102.2 kB / 407.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.2788, allocations: 169.6 kB / 407.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2788, allocations: 0 / 407.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.279, allocations: 99.73 kB / 407.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.2795, allocations: 36.66 kB / 407.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2805, allocations: 0.7222 MB / 408.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2807, allocations: 140.2 kB / 408.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.2807, allocations: 21.77 kB / 408.7 MB, free: 2 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2807, allocations: 1.344 kB / 408.7 MB, free: 2 MB / 318.1 MB Notification: Performance of Templates: time 0.005044/0.2858, allocations: 2.679 MB / 411.4 MB, free: 1.195 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.422070952132344]