Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 223.6 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007721/0.000772, allocations: 96.73 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003411, allocations: 12 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3005, allocations: 47.58 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.4075, allocations: 77.22 MB / 452.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.4079, allocations: 71.97 kB / 453 MB, free: 3.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.4185, allocations: 3.798 MB / 456.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4186, allocations: 4 kB / 456.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.4186, allocations: 4 kB / 456.8 MB, free: 15.54 MB / 346.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.0007219/0.4193, allocations: 499.1 kB / 457.3 MB, free: 15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4194, allocations: 8.031 kB / 457.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.4195, allocations: 24.66 kB / 457.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.4197, allocations: 232.5 kB / 457.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.4198, allocations: 16.81 kB / 457.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.4198, allocations: 20.36 kB / 457.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.4203, allocations: 229.2 kB / 457.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4203, allocations: 0 / 457.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.4203, allocations: 8 kB / 457.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4203, allocations: 4 kB / 457.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.4207, allocations: 147.9 kB / 458 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4219, allocations: 0.8038 MB / 458.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.4223, allocations: 209 kB / 459 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.4226, allocations: 105.7 kB / 459.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.4226, allocations: 7.938 kB / 459.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.4227, allocations: 42.5 kB / 459.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.4227, allocations: 0 / 459.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001605/0.4243, allocations: 0.874 MB / 460 MB, free: 12.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.4244, allocations: 81.55 kB / 460.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.4245, allocations: 178.1 kB / 460.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.4246, allocations: 33.7 kB / 460.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.4247, allocations: 136.5 kB / 460.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.4247, allocations: 98.58 kB / 460.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.4248, allocations: 4 kB / 460.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4249, allocations: 338.8 kB / 460.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.4251, allocations: 71.95 kB / 460.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.4253, allocations: 112.2 kB / 461 MB, free: 10.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.4257, allocations: 195.3 kB / 461.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4257, allocations: 0 / 461.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004737/0.4261, allocations: 257.5 kB / 461.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.4262, allocations: 4 kB / 461.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.4262, allocations: 4 kB / 461.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.4262, allocations: 7.922 kB / 461.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.4265, allocations: 63.97 kB / 461.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.4265, allocations: 3.938 kB / 461.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.4267, allocations: 15.94 kB / 461.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.4267, allocations: 8 kB / 461.6 MB, free: 10.39 MB / 346.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.0001527/0.4268, allocations: 142.3 kB / 461.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.4269, allocations: 27.7 kB / 461.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.413e-05/0.427, allocations: 25.88 kB / 461.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.427, allocations: 8 kB / 461.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.427, allocations: 0 / 461.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.427, allocations: 3.984 kB / 461.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008989/0.4279, allocations: 0.5826 MB / 462.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.428, allocations: 4 kB / 462.4 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.4282, allocations: 59.91 kB / 462.4 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4283, allocations: 4.094 kB / 462.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.4283, allocations: 12 kB / 462.5 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4283, allocations: 0 / 462.5 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.4283, allocations: 7.938 kB / 462.5 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.429, allocations: 0.4918 MB / 463 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.4291, allocations: 104.8 kB / 463.1 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.4291, allocations: 8 kB / 463.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.4293, allocations: 4 kB / 463.1 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.4293, allocations: 31.91 kB / 463.1 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.4294, allocations: 4 kB / 463.1 MB, free: 8.762 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.4295, allocations: 140.2 kB / 463.2 MB, free: 8.625 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4295, allocations: 0 / 463.2 MB, free: 8.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.4298, allocations: 52 kB / 463.3 MB, free: 8.574 MB / 346.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.0001586/0.43, allocations: 103.2 kB / 463.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.4304, allocations: 184 kB / 463.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4304, allocations: 0 / 463.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.4306, allocations: 99.83 kB / 463.7 MB, free: 8.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.4311, allocations: 48.36 kB / 463.7 MB, free: 8.137 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.4324, allocations: 0.8548 MB / 464.6 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.4327, allocations: 0.7478 MB / 465.3 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.4328, allocations: 27.42 kB / 465.3 MB, free: 6.434 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4328, allocations: 0 / 465.3 MB, free: 6.434 MB / 346.7 MB Notification: Performance of Templates: time 0.004502/0.4373, allocations: 2.562 MB / 467.9 MB, free: 3.875 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches