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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 117.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002049, allocations: 59.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3105, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00397/0.3145, allocations: 2.426 MB / 412.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3159, allocations: 0.6583 MB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.3162, allocations: 4 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.3164, allocations: 43.58 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.3166, allocations: 63.42 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.317, allocations: 75.83 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004462/0.3175, allocations: 258.8 kB / 413.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.3177, allocations: 101.3 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.318, allocations: 111.6 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.3182, allocations: 107.5 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.3182, allocations: 20 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.818e-05/0.3183, allocations: 28 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.3183, allocations: 47.83 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.3185, allocations: 119.4 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.3188, allocations: 256.2 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3188, allocations: 0 / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3188, allocations: 4 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3188, allocations: 0 / 414.2 MB, free: 13.27 MB / 334.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.0008282/0.3197, allocations: 0.5262 MB / 414.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3197, allocations: 8.031 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.32, allocations: 52.56 kB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.3203, allocations: 247.8 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3204, allocations: 16.81 kB / 415.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.3204, allocations: 20.38 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.3208, allocations: 217.3 kB / 415.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.3208, allocations: 3.984 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.3209, allocations: 12 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3209, allocations: 4 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.3212, allocations: 151.8 kB / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3224, allocations: 0.7753 MB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.3228, allocations: 201 kB / 416.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.323, allocations: 105.7 kB / 416.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3231, allocations: 3.984 kB / 416.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3231, allocations: 46.69 kB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.3231, allocations: 0 / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001658/0.3248, allocations: 0.8732 MB / 417.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.3249, allocations: 81.11 kB / 417.5 MB, free: 9.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.325, allocations: 175.5 kB / 417.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.3251, allocations: 33.7 kB / 417.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.3252, allocations: 140.3 kB / 417.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.3253, allocations: 102.5 kB / 418 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.3253, allocations: 45.7 kB / 418 MB, free: 9.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3255, allocations: 334.8 kB / 418.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.3256, allocations: 63.97 kB / 418.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.3258, allocations: 112.2 kB / 418.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.3261, allocations: 194.9 kB / 418.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3262, allocations: 0 / 418.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004386/0.3266, allocations: 245.1 kB / 419 MB, free: 8.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3266, allocations: 4 kB / 419 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.3266, allocations: 4 kB / 419 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3267, allocations: 4.094 kB / 419 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.3269, allocations: 63.89 kB / 419 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3269, allocations: 4 kB / 419 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.3271, allocations: 8 kB / 419 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.3271, allocations: 16 kB / 419.1 MB, free: 8.059 MB / 334.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.0001188/0.3272, allocations: 141.6 kB / 419.2 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.3273, allocations: 27.8 kB / 419.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.576e-05/0.3274, allocations: 25.88 kB / 419.2 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3274, allocations: 8 kB / 419.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3274, allocations: 0 / 419.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3274, allocations: 3.984 kB / 419.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008298/0.3282, allocations: 0.5786 MB / 419.8 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3282, allocations: 0 / 419.8 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.3285, allocations: 64 kB / 419.9 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.3285, allocations: 4 kB / 419.9 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.3286, allocations: 7.984 kB / 419.9 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3286, allocations: 7.938 kB / 419.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3286, allocations: 3.938 kB / 419.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000646/0.3292, allocations: 496.8 kB / 420.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.3293, allocations: 92.92 kB / 420.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.3294, allocations: 4 kB / 420.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3295, allocations: 12.03 kB / 420.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.3296, allocations: 19.92 kB / 420.5 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.3296, allocations: 19.92 kB / 420.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3298, allocations: 140.2 kB / 420.7 MB, free: 6.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3298, allocations: 0 / 420.7 MB, free: 6.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003368/0.3301, allocations: 44 kB / 420.7 MB, free: 6.258 MB / 334.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.0001326/0.3302, allocations: 103.2 kB / 420.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004174/0.3307, allocations: 186.2 kB / 421 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3307, allocations: 4 kB / 421 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.3309, allocations: 91.84 kB / 421.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.3313, allocations: 31.98 kB / 421.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3326, allocations: 0.7169 MB / 421.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3329, allocations: 0.7519 MB / 422.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.333, allocations: 19.44 kB / 422.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.333, allocations: 0 / 422.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of Templates: time 0.005198/0.3382, allocations: 2.667 MB / 425.3 MB, free: 1.617 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches