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.001676/0.001676, allocations: 82.58 kB / 21.99 MB, free: 4.754 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.001883/0.001883, allocations: 157.8 kB / 25.25 MB, free: 2.742 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.376/1.376, allocations: 158.6 MB / 187 MB, free: 6.195 MB / 174.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.001813/0.001813, allocations: 63.91 kB / 299.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2629, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003722/0.2666, allocations: 2.265 MB / 350.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2677, allocations: 0.5967 MB / 351.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.2678, allocations: 7.938 kB / 351.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.2679, allocations: 39.64 kB / 351.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.2681, allocations: 67.36 kB / 351.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.2683, allocations: 67.91 kB / 351.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.2686, allocations: 250.8 kB / 351.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2688, allocations: 65.69 kB / 351.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.269, allocations: 103.6 kB / 351.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.2692, allocations: 95.47 kB / 352 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.2692, allocations: 24 kB / 352.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.121e-05/0.2692, allocations: 20 kB / 352.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.2693, allocations: 47.84 kB / 352.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.2694, allocations: 95.53 kB / 352.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.2697, allocations: 249.5 kB / 352.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2697, allocations: 0 / 352.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2697, allocations: 3.938 kB / 352.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2697, allocations: 0 / 352.5 MB, free: 11.54 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.0008236/0.2706, allocations: 465.7 kB / 352.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2706, allocations: 19.92 kB / 352.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.2707, allocations: 32.75 kB / 353 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.271, allocations: 178.8 kB / 353.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.271, allocations: 16.88 kB / 353.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.271, allocations: 20.38 kB / 353.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.2715, allocations: 222.1 kB / 353.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.2715, allocations: 7.953 kB / 353.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.2715, allocations: 4 kB / 353.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2715, allocations: 8 kB / 353.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.2719, allocations: 143.8 kB / 353.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.273, allocations: 0.6546 MB / 354.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.2734, allocations: 189 kB / 354.4 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.2737, allocations: 97.83 kB / 354.5 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.2737, allocations: 4 kB / 354.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.2737, allocations: 38.53 kB / 354.5 MB, free: 9.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.2737, allocations: 0 / 354.5 MB, free: 9.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001611/0.2753, allocations: 0.718 MB / 355.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.2754, allocations: 81.09 kB / 355.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.2755, allocations: 170.4 kB / 355.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.2756, allocations: 29.7 kB / 355.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2757, allocations: 144.4 kB / 355.7 MB, free: 8.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/0.2758, allocations: 99.16 kB / 355.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.2758, allocations: 45.7 kB / 355.8 MB, free: 7.945 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.276, allocations: 334.8 kB / 356.1 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.2761, allocations: 63.97 kB / 356.2 MB, free: 7.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.2763, allocations: 108.2 kB / 356.3 MB, free: 7.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.2767, allocations: 180.2 kB / 356.5 MB, free: 7.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2767, allocations: 0 / 356.5 MB, free: 7.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004595/0.2771, allocations: 249.3 kB / 356.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2772, allocations: 8 kB / 356.7 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2772, allocations: 0 / 356.7 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.2772, allocations: 4 kB / 356.7 MB, free: 6.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.2775, allocations: 63.84 kB / 356.8 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2775, allocations: 3.984 kB / 356.8 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.2776, allocations: 12 kB / 356.8 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.2776, allocations: 8 kB / 356.8 MB, free: 6.887 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.0001323/0.2777, allocations: 141.7 kB / 357 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.2778, allocations: 27.86 kB / 357 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.2779, allocations: 29.8 kB / 357 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2779, allocations: 4 kB / 357 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2779, allocations: 0 / 357 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2779, allocations: 4 kB / 357 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.2787, allocations: 0.4924 MB / 357.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2787, allocations: 0 / 357.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.279, allocations: 59.91 kB / 357.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.279, allocations: 8.094 kB / 357.6 MB, free: 6.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.279, allocations: 4 kB / 357.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.279, allocations: 4 kB / 357.6 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.279, allocations: 0 / 357.6 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.2797, allocations: 0.5018 MB / 358.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.2798, allocations: 19.86 kB / 358.1 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.2798, allocations: 8 kB / 358.1 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.28, allocations: 4 kB / 358.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.28, allocations: 31.94 kB / 358.2 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.28, allocations: 4 kB / 358.2 MB, free: 5.465 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.748e-05/0.2801, allocations: 123.2 kB / 358.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2801, allocations: 0 / 358.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.2805, allocations: 48 kB / 358.3 MB, free: 5.297 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 0.000196/0.2807, allocations: 107.1 kB / 358.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.2811, allocations: 172.1 kB / 358.6 MB, free: 5.012 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2811, allocations: 4 kB / 358.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.2813, allocations: 104 kB / 358.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.2818, allocations: 29.7 kB / 358.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.2831, allocations: 0.6806 MB / 359.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.2832, allocations: 145.8 kB / 359.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.611e-05/0.2833, allocations: 21.89 kB / 359.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.2834, allocations: 24.44 kB / 359.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2834, allocations: 0 / 359.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of Templates: time 0.006008/0.2894, allocations: 1.975 MB / 361.6 MB, free: 1.977 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 -s ida -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: 4.318175922031514]