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.00115/0.00115, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 55.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2457, allocations: 50.54 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003312/0.249, allocations: 2.437 MB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2501, allocations: 0.6544 MB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.2503, allocations: 4 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.2505, allocations: 39.58 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.2507, allocations: 67.36 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.251, allocations: 75.89 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.2513, allocations: 262.8 kB / 412.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.2515, allocations: 101.3 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.2517, allocations: 115.6 kB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.2519, allocations: 107.5 kB / 412.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.2519, allocations: 20 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.252, allocations: 20 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.252, allocations: 51.83 kB / 412.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.873e-05/0.2521, allocations: 115.4 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.2524, allocations: 256.8 kB / 413 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2524, allocations: 0 / 413 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2524, allocations: 4 kB / 413 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.2525, allocations: 7.984 kB / 413.1 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.000706/0.2532, allocations: 0.5223 MB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2532, allocations: 8.031 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.2533, allocations: 54.73 kB / 413.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.2535, allocations: 48.62 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.2538, allocations: 247.8 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2538, allocations: 12.81 kB / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.2539, allocations: 24.38 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.2543, allocations: 217.1 kB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2543, allocations: 7.875 kB / 414.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.2543, allocations: 12 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2543, allocations: 8 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.2546, allocations: 147.9 kB / 414.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.2557, allocations: 0.7753 MB / 415.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.2561, allocations: 201 kB / 415.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.2563, allocations: 109.6 kB / 415.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2563, allocations: 192 / 415.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2564, allocations: 42.5 kB / 415.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.072e-06/0.2564, allocations: 3.938 kB / 415.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001451/0.2578, allocations: 0.8697 MB / 416.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.2579, allocations: 85.05 kB / 416.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.258, allocations: 179.5 kB / 416.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.258, allocations: 25.7 kB / 416.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.2581, allocations: 144.3 kB / 416.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.2582, allocations: 94.64 kB / 416.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.2583, allocations: 45.7 kB / 416.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.2584, allocations: 338.8 kB / 417.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.2585, allocations: 59.97 kB / 417.3 MB, free: 8.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.2587, allocations: 120.2 kB / 417.4 MB, free: 8.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.259, allocations: 182.4 kB / 417.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.259, 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.0004202/0.2594, allocations: 247.9 kB / 417.8 MB, free: 8.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2595, allocations: 4 kB / 417.8 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2595, allocations: 4 kB / 417.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2595, allocations: 4.094 kB / 417.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.2597, allocations: 63.91 kB / 417.9 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.2598, allocations: 8 kB / 417.9 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.2599, allocations: 8 kB / 417.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.2599, allocations: 11.98 kB / 417.9 MB, free: 7.941 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.0001091/0.26, allocations: 145.6 kB / 418.1 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.2601, allocations: 23.72 kB / 418.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.611e-05/0.2601, allocations: 25.88 kB / 418.1 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2602, allocations: 8 kB / 418.1 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2602, allocations: 3.984 kB / 418.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2602, allocations: 0 / 418.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007593/0.2609, allocations: 0.5903 MB / 418.7 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.261, allocations: 0 / 418.7 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.2612, allocations: 56.06 kB / 418.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2612, allocations: 4 kB / 418.8 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.2613, allocations: 8 kB / 418.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.2613, allocations: 3.938 kB / 418.8 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2613, allocations: 7.938 kB / 418.8 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005795/0.2619, allocations: 488.9 kB / 419.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.2619, allocations: 100.9 kB / 419.4 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.262, allocations: 11.94 kB / 419.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.2621, allocations: 11.94 kB / 419.4 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.2622, allocations: 23.91 kB / 419.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.2622, allocations: 8 kB / 419.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.977e-05/0.2623, allocations: 140.2 kB / 419.6 MB, free: 6.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2623, allocations: 0 / 419.6 MB, free: 6.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.2626, 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.0007954/0.2634, allocations: 1.022 MB / 420.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.2638, allocations: 179.8 kB / 420.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2638, allocations: 4.188 kB / 420.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.264, allocations: 99.83 kB / 420.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.2645, allocations: 40.19 kB / 421 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.2673, allocations: 2.646 MB / 423.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.2676, allocations: 0.748 MB / 424.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.784e-05/0.2677, allocations: 17.95 kB / 424.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.2678, allocations: 71.41 kB / 424.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2678, allocations: 0 / 424.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5018/0.7696, allocations: 4.521 MB / 429 MB, free: 12.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.539/9.309, allocations: 11.25 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