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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 201.8 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.187/1.187, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008451/0.0008451, allocations: 104.1 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002115/0.0002116, allocations: 4 kB / 357.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1938, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08785/0.2817, allocations: 79.06 MB / 488.5 MB, free: 11.58 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.282, allocations: 67.97 kB / 488.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01066/0.2927, allocations: 4.008 MB / 492.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2927, allocations: 0 / 492.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.2927, allocations: 4 kB / 492.5 MB, free: 7.492 MB / 362.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.0007023/0.2934, allocations: 499.4 kB / 493 MB, free: 6.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2935, allocations: 8.031 kB / 493 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.2937, allocations: 59.64 kB / 493.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.294, allocations: 231.2 kB / 493.3 MB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.294, allocations: 12.44 kB / 493.3 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.2941, allocations: 20 kB / 493.4 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.2945, allocations: 222.5 kB / 493.6 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.2945, allocations: 4 kB / 493.6 MB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.2946, allocations: 15.98 kB / 493.6 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2946, allocations: 4 kB / 493.6 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.2949, allocations: 152.5 kB / 493.7 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.2961, allocations: 0.7957 MB / 494.5 MB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.2965, allocations: 205 kB / 494.7 MB, free: 5.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.2965, allocations: 4 kB / 494.7 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2966, allocations: 38.5 kB / 494.8 MB, free: 5.059 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.895e-06/0.2966, allocations: 0 / 494.8 MB, free: 5.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001571/0.2981, allocations: 0.8787 MB / 495.7 MB, free: 4.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.2982, allocations: 81.11 kB / 495.7 MB, free: 3.992 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.2983, allocations: 166.2 kB / 495.9 MB, free: 3.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2984, allocations: 29.7 kB / 495.9 MB, free: 3.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.2985, allocations: 144.4 kB / 496.1 MB, free: 3.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/0.2985, allocations: 90.64 kB / 496.2 MB, free: 3.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.2986, allocations: 8 kB / 496.2 MB, free: 3.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2987, allocations: 330.8 kB / 496.5 MB, free: 3.211 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.2988, allocations: 67.97 kB / 496.6 MB, free: 3.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.299, allocations: 116.2 kB / 496.7 MB, free: 3.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2992, allocations: 86.05 kB / 496.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2992, allocations: 0 / 496.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004054/0.2996, allocations: 249.2 kB / 497 MB, free: 2.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2996, allocations: 8 kB / 497 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2996, allocations: 96 / 497 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2996, allocations: 8 kB / 497 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.2999, allocations: 67.84 kB / 497.1 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2999, allocations: 4 kB / 497.1 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.3, allocations: 11.98 kB / 497.1 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.3001, allocations: 12 kB / 497.1 MB, free: 2.574 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.3002, allocations: 141.7 kB / 497.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.3003, allocations: 27.66 kB / 497.3 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.541e-05/0.3003, allocations: 29.86 kB / 497.3 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3003, allocations: 4 kB / 497.3 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3003, allocations: 3.953 kB / 497.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3004, allocations: 0 / 497.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/0.3012, allocations: 0.5827 MB / 497.9 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3012, allocations: 0 / 497.9 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.3015, allocations: 63.86 kB / 498 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3015, allocations: 4 kB / 498 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3015, allocations: 4 kB / 498 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3015, allocations: 8 kB / 498 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3015, allocations: 0 / 498 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.3022, allocations: 0.5432 MB / 498.5 MB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.3022, allocations: 96.92 kB / 498.6 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.3023, allocations: 4 kB / 498.6 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3025, allocations: 8 kB / 498.6 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.3025, allocations: 31.97 kB / 498.7 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3025, allocations: 4 kB / 498.7 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.427e-05/0.3026, allocations: 131.2 kB / 498.8 MB, free: 0.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3026, allocations: 0 / 498.8 MB, free: 0.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003349/0.303, allocations: 52 kB / 498.8 MB, free: 0.6992 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001422/0.3031, allocations: 107.1 kB / 498.9 MB, free: 0.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.3035, allocations: 198.8 kB / 499.1 MB, free: 400 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3035, allocations: 3.938 kB / 499.1 MB, free: 396 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.3037, allocations: 100.4 kB / 499.2 MB, free: 296 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.3041, allocations: 34.98 kB / 499.3 MB, free: 264 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3054, allocations: 0.8376 MB / 0.4884 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3057, allocations: 0.752 MB / 0.4891 GB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.3059, allocations: 17.95 kB / 0.4891 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.3059, allocations: 27.42 kB / 0.4892 GB, free: 14.56 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3059, allocations: 0 / 0.4892 GB, free: 14.56 MB / 378.7 MB Notification: Performance of Templates: time 0.004611/0.3105, allocations: 1.777 MB / 0.4909 GB, free: 12.8 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches