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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 109.2 kB / 17.73 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 188.2 kB / 18.66 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 47.94 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09574, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003931/0.09972, allocations: 2.403 MB / 377.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1009, allocations: 0.62 MB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.1011, allocations: 4 kB / 378.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.1013, allocations: 39.58 kB / 378.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.1016, allocations: 71.36 kB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.1019, allocations: 59.91 kB / 378.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.1023, allocations: 250.8 kB / 378.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.1026, allocations: 105.2 kB / 378.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.1028, allocations: 99.7 kB / 378.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.103, allocations: 107.5 kB / 378.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.1031, allocations: 20 kB / 378.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.1031, allocations: 20 kB / 378.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.1032, allocations: 51.83 kB / 379 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1033, allocations: 119.4 kB / 379.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1036, allocations: 259 kB / 379.3 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1036, allocations: 0 / 379.3 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1036, allocations: 4 kB / 379.3 MB, free: 348 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1036, allocations: 0 / 379.3 MB, free: 348 kB / 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.1876/0.2912, allocations: 0.5072 MB / 379.8 MB, free: 13.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2913, allocations: 13.55 kB / 379.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.2913, allocations: 27.3 kB / 379.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.2916, allocations: 243.9 kB / 380.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2916, allocations: 16.31 kB / 380.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.2917, allocations: 20.38 kB / 380.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.292, allocations: 221.7 kB / 380.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2921, allocations: 2.078 kB / 380.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.2921, allocations: 11.88 kB / 380.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2921, allocations: 5.5 kB / 380.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.2924, allocations: 141.7 kB / 380.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009573/0.2934, allocations: 0.7795 MB / 381.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.2937, allocations: 202.3 kB / 381.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.294, allocations: 104.7 kB / 381.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.294, allocations: 3.797 kB / 381.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.294, allocations: 43.33 kB / 381.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.294, allocations: 0 / 381.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001432/0.2955, allocations: 0.8584 MB / 382.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.2955, allocations: 79.86 kB / 382.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.2957, allocations: 180.8 kB / 382.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.2957, allocations: 27.23 kB / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.2958, allocations: 149.9 kB / 382.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.2958, allocations: 91.89 kB / 383 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.2959, allocations: 46.62 kB / 383.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.811e-05/0.296, allocations: 333.5 kB / 383.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.2961, allocations: 64.61 kB / 383.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.2964, allocations: 112.7 kB / 383.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.2967, allocations: 187.5 kB / 383.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2967, allocations: 2.969 kB / 383.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003914/0.2971, allocations: 251.3 kB / 384 MB, free: 10.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2971, allocations: 7.219 kB / 384 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2971, allocations: 1.625 kB / 384 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.2971, allocations: 2.875 kB / 384 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.2974, allocations: 65.22 kB / 384.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2974, allocations: 2.188 kB / 384.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2975, allocations: 14.94 kB / 384.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.2975, allocations: 13.05 kB / 384.1 MB, free: 10.64 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 9.335e-05/0.2976, allocations: 137.5 kB / 384.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.2977, allocations: 25.75 kB / 384.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.2978, allocations: 27.94 kB / 384.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2978, allocations: 3.344 kB / 384.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2978, allocations: 5.562 kB / 384.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.2978, allocations: 4.828 kB / 384.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007029/0.2985, allocations: 0.577 MB / 384.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2985, allocations: 1.094 kB / 384.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.2988, allocations: 56.31 kB / 384.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2988, allocations: 6.656 kB / 385 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.2988, allocations: 10.77 kB / 385 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2989, allocations: 3.469 kB / 385 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2989, allocations: 5.25 kB / 385 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.2994, allocations: 0.4959 MB / 385.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.2995, allocations: 90.98 kB / 385.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.2995, allocations: 8.094 kB / 385.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.2997, allocations: 9.5 kB / 385.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.2997, allocations: 26.17 kB / 385.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.2998, allocations: 12.47 kB / 385.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.965e-05/0.2998, allocations: 137.9 kB / 385.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2999, allocations: 0 / 385.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.3002, allocations: 46.31 kB / 385.8 MB, free: 9.449 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.433e-05/0.3003, allocations: 108.4 kB / 385.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.3007, allocations: 175.7 kB / 386.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3007, allocations: 192 / 386.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.3008, allocations: 100.3 kB / 386.2 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.3013, allocations: 37.25 kB / 386.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3023, allocations: 0.6803 MB / 386.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.3025, allocations: 0.7457 MB / 387.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.3027, allocations: 24.2 kB / 387.7 MB, free: 8.098 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.3028, allocations: 19.75 kB / 387.7 MB, free: 8.09 MB / 318.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3028, allocations: 1.469 kB / 387.7 MB, free: 8.09 MB / 318.1 MB Notification: Performance of Templates: time 0.005698/0.3085, allocations: 2.069 MB / 389.7 MB, free: 7.934 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches