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.001454/0.001454, allocations: 103.9 kB / 18.39 MB, free: 4.641 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.001241/0.001241, allocations: 190.5 kB / 19.33 MB, free: 3.715 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.394/1.394, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001365/0.001365, allocations: 59.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.09065, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003924/0.09462, allocations: 2.408 MB / 378.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.09594, allocations: 0.62 MB / 378.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.09616, allocations: 4 kB / 378.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.09638, allocations: 39.58 kB / 378.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.0966, allocations: 63.42 kB / 378.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.09689, allocations: 67.84 kB / 379 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.09726, allocations: 250.8 kB / 379.2 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.09749, allocations: 105.3 kB / 379.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.09769, allocations: 95.64 kB / 379.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.09789, allocations: 115.5 kB / 379.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.09794, allocations: 20 kB / 379.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.592e-05/0.098, allocations: 20 kB / 379.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.09805, allocations: 47.84 kB / 379.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.09817, allocations: 115.4 kB / 379.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.09848, allocations: 259.1 kB / 380 MB, free: 356 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.09849, allocations: 0 / 380 MB, free: 356 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.0985, allocations: 0 / 380 MB, free: 356 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.09851, allocations: 0 / 380 MB, free: 356 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.206/0.3045, allocations: 0.5134 MB / 380.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3045, allocations: 13.36 kB / 380.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3047, allocations: 28.06 kB / 380.6 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.305, allocations: 243.3 kB / 380.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3051, allocations: 17.12 kB / 380.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.3051, allocations: 22.47 kB / 380.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.3056, allocations: 217.9 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3056, allocations: 1.375 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.3057, allocations: 8.875 kB / 381.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3057, allocations: 5.5 kB / 381.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.306, allocations: 148.8 kB / 381.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.3073, allocations: 0.7738 MB / 382 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.3077, allocations: 208.8 kB / 382.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.308, allocations: 102.6 kB / 382.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.308, allocations: 2.75 kB / 382.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.3081, allocations: 36.56 kB / 382.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.3081, allocations: 2.438 kB / 382.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001653/0.3097, allocations: 0.8642 MB / 383.2 MB, free: 11.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.3098, allocations: 80.55 kB / 383.3 MB, free: 11.67 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.31, allocations: 178.1 kB / 383.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.31, allocations: 30.83 kB / 383.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.3101, allocations: 145.3 kB / 383.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.3102, allocations: 92.91 kB / 383.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3103, allocations: 49.47 kB / 383.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3104, allocations: 333.2 kB / 384.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.3106, allocations: 64.84 kB / 384.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3108, allocations: 112.2 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.3112, allocations: 189.2 kB / 384.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3112, allocations: 2.469 kB / 384.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00047/0.3117, allocations: 250 kB / 384.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3117, allocations: 9.453 kB / 384.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3117, allocations: 1.094 kB / 384.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.3117, allocations: 7.625 kB / 384.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.312, allocations: 59.77 kB / 384.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.312, allocations: 2.078 kB / 384.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.3121, allocations: 15.91 kB / 384.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.3122, allocations: 11.81 kB / 384.8 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 0.0001011/0.3123, allocations: 137.3 kB / 384.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.3123, allocations: 26.81 kB / 384.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/0.3124, allocations: 34.44 kB / 385 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3124, allocations: 3.469 kB / 385 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.3124, allocations: 0 / 385 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3125, allocations: 2.609 kB / 385 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008067/0.3133, allocations: 0.5726 MB / 385.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3133, allocations: 4.406 kB / 385.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.3136, allocations: 65.16 kB / 385.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.3136, allocations: 2.188 kB / 385.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.3136, allocations: 7.469 kB / 385.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.3136, allocations: 5.469 kB / 385.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3136, allocations: 6.766 kB / 385.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/0.3143, allocations: 0.4937 MB / 386.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.3143, allocations: 92.61 kB / 386.2 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.3144, allocations: 6.344 kB / 386.2 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.3145, allocations: 10.19 kB / 386.2 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.3146, allocations: 32.56 kB / 386.3 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3146, allocations: 14.03 kB / 386.3 MB, free: 9.535 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.07e-05/0.3147, allocations: 129.5 kB / 386.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3147, allocations: 0 / 386.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.3151, allocations: 51.83 kB / 386.5 MB, free: 9.438 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.0001077/0.3152, allocations: 98.25 kB / 386.6 MB, free: 9.348 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004308/0.3157, allocations: 183 kB / 386.7 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3157, allocations: 4 kB / 386.7 MB, free: 9.293 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.3159, allocations: 96.58 kB / 386.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.3164, allocations: 35.75 kB / 386.9 MB, free: 9.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3175, allocations: 0.701 MB / 387.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.3178, allocations: 0.7465 MB / 388.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.3178, allocations: 26.73 kB / 388.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3179, allocations: 0 / 388.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of Templates: time 0.006601/0.3245, allocations: 2.622 MB / 391 MB, free: 7.805 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/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) Reference file matches