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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001146, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2528, allocations: 50.55 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003284/0.2562, allocations: 2.433 MB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2573, allocations: 0.6505 MB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.2575, allocations: 4 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.2577, allocations: 43.58 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.2578, allocations: 71.34 kB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.2581, allocations: 71.91 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.2584, allocations: 258.8 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.2586, allocations: 97.33 kB / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.2588, allocations: 119.6 kB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.259, allocations: 111.5 kB / 412.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.259, allocations: 20 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.877e-05/0.2591, allocations: 20 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.2592, allocations: 51.83 kB / 412.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.2593, allocations: 111.4 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.2596, allocations: 256.8 kB / 413 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2596, allocations: 0 / 413 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2596, allocations: 4 kB / 413 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.2597, allocations: 4 kB / 413 MB, free: 13.21 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.0007984/0.2605, allocations: 0.5262 MB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2605, allocations: 12.03 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.886e-05/0.2606, allocations: 50.73 kB / 413.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.2609, allocations: 52.62 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.2612, allocations: 243.8 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.2612, allocations: 16.81 kB / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.2613, allocations: 24.38 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.2617, allocations: 213.1 kB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2617, allocations: 7.922 kB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.2617, allocations: 12 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.2618, allocations: 8 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.2621, allocations: 147.9 kB / 414.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.2631, allocations: 0.7753 MB / 415.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.2635, allocations: 201 kB / 415.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.2637, allocations: 105.7 kB / 415.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.2638, allocations: 4.188 kB / 415.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.2638, allocations: 46.44 kB / 415.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.754e-06/0.2638, allocations: 0 / 415.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001504/0.2653, allocations: 0.8597 MB / 416.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.2654, allocations: 85.05 kB / 416.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.2656, allocations: 175.5 kB / 416.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.2656, allocations: 33.7 kB / 416.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.2657, allocations: 144.3 kB / 416.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/0.2658, allocations: 94.64 kB / 416.9 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.2658, allocations: 45.7 kB / 416.9 MB, free: 9.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.266, allocations: 334.8 kB / 417.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.2661, allocations: 63.97 kB / 417.3 MB, free: 8.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.2663, allocations: 112.2 kB / 417.4 MB, free: 8.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.2666, allocations: 194.7 kB / 417.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2666, allocations: 3.938 kB / 417.6 MB, free: 8.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003998/0.267, allocations: 241.2 kB / 417.8 MB, free: 8.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.267, allocations: 4 kB / 417.8 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2671, allocations: 12.08 kB / 417.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/0.2671, allocations: 3.984 kB / 417.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.2674, allocations: 59.91 kB / 417.9 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2674, allocations: 4 kB / 417.9 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2675, allocations: 8 kB / 417.9 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.2675, allocations: 12 kB / 417.9 MB, free: 7.945 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.0001287/0.2676, allocations: 145.6 kB / 418.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.2677, allocations: 27.7 kB / 418.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/0.2678, allocations: 29.88 kB / 418.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2678, allocations: 4 kB / 418.1 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2678, allocations: 0 / 418.1 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2678, allocations: 3.984 kB / 418.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000829/0.2687, allocations: 0.5787 MB / 418.7 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2687, allocations: 4.094 kB / 418.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.2689, allocations: 55.97 kB / 418.8 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.269, allocations: 7.984 kB / 418.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.269, allocations: 8 kB / 418.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.269, allocations: 7.875 kB / 418.8 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.269, allocations: 3.938 kB / 418.8 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.2696, allocations: 492.9 kB / 419.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.2697, allocations: 96.83 kB / 419.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.2697, allocations: 15.97 kB / 419.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.2699, allocations: 15.94 kB / 419.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.27, allocations: 23.91 kB / 419.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.27, allocations: 8 kB / 419.4 MB, free: 6.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.2701, allocations: 136.2 kB / 419.6 MB, free: 6.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2701, allocations: 0 / 419.6 MB, free: 6.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.2705, allocations: 48 kB / 419.6 MB, free: 6.133 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.0008705/0.2714, allocations: 1.022 MB / 420.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003929/0.2718, allocations: 186.2 kB / 420.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2718, allocations: 0 / 420.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.2719, allocations: 91.84 kB / 420.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.2725, allocations: 39.2 kB / 420.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.2756, allocations: 2.658 MB / 423.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.2759, allocations: 0.7441 MB / 424.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.276, allocations: 25.92 kB / 424.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2761, allocations: 71.41 kB / 424.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of SimCode: time 9.71e-07/0.2761, allocations: 0 / 424.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.3011, allocations: 4.515 MB / 429 MB, free: 12.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/7.855, allocations: 17.69 kB / 429 MB, free: 12.7 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > 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