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.00127/0.00127, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001325, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 63.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2453, allocations: 50.55 MB / 408.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003725/0.249, allocations: 2.439 MB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2503, allocations: 0.6544 MB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2504, allocations: 7.938 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.2506, allocations: 39.64 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.2508, allocations: 67.36 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.251, allocations: 75.83 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.2513, allocations: 254.8 kB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2516, allocations: 101.3 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.2517, allocations: 99.64 kB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.2519, allocations: 115.4 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.252, allocations: 20 kB / 412.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.2521, allocations: 27.98 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.2521, allocations: 47.84 kB / 412.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.2522, allocations: 123.4 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.2526, allocations: 257.9 kB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2526, allocations: 0 / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2526, allocations: 0 / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.2526, allocations: 0 / 413.1 MB, free: 13.14 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.0008475/0.2535, allocations: 0.5338 MB / 413.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2535, allocations: 8.031 kB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/0.2536, allocations: 58.67 kB / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.2538, allocations: 44.73 kB / 413.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.2543, allocations: 255.9 kB / 414 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2543, allocations: 12.81 kB / 414 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.2543, allocations: 24.33 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.2548, allocations: 217.1 kB / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2548, allocations: 4 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.2548, allocations: 8 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2548, allocations: 4 kB / 414.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.2552, allocations: 151.8 kB / 414.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.2564, allocations: 0.7833 MB / 415.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.2568, allocations: 197 kB / 415.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.2571, allocations: 105.7 kB / 415.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.2571, allocations: 8.188 kB / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.2571, allocations: 38.48 kB / 415.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.2571, allocations: 0 / 415.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001657/0.2588, allocations: 0.8674 MB / 416.4 MB, free: 9.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.2589, allocations: 85.2 kB / 416.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.2591, allocations: 182.8 kB / 416.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2591, allocations: 29.7 kB / 416.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.2592, allocations: 152.5 kB / 416.9 MB, free: 9.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.2593, allocations: 95.12 kB / 417 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.259e-05/0.2594, allocations: 49.7 kB / 417 MB, free: 8.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2596, allocations: 330.8 kB / 417.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.2597, allocations: 63.97 kB / 417.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.2599, allocations: 120.2 kB / 417.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.2603, allocations: 186.6 kB / 417.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2603, allocations: 3.938 kB / 417.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004308/0.2608, allocations: 245.3 kB / 417.9 MB, free: 7.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2608, allocations: 8 kB / 417.9 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2608, allocations: 0 / 417.9 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2608, allocations: 4 kB / 417.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.2611, allocations: 59.91 kB / 418 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2611, allocations: 3.984 kB / 418 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.2612, allocations: 12 kB / 418 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.2612, allocations: 8 kB / 418 MB, free: 7.855 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.0001359/0.2614, allocations: 153.7 kB / 418.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.2614, allocations: 19.86 kB / 418.2 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.2615, allocations: 33.86 kB / 418.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2615, allocations: 0 / 418.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2615, allocations: 0 / 418.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2615, allocations: 4 kB / 418.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008579/0.2624, allocations: 0.5826 MB / 418.8 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2624, allocations: 0 / 418.8 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.2627, allocations: 59.91 kB / 418.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2627, allocations: 0 / 418.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.2627, allocations: 11.98 kB / 418.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.2627, allocations: 7.938 kB / 418.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2627, allocations: 0 / 418.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006864/0.2634, allocations: 497.1 kB / 419.4 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.2635, allocations: 93.02 kB / 419.5 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.2636, allocations: 12 kB / 419.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.2637, allocations: 19.91 kB / 419.5 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.2638, allocations: 15.98 kB / 419.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.2638, allocations: 8 kB / 419.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2639, allocations: 136.9 kB / 419.7 MB, free: 6.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2639, allocations: 0 / 419.7 MB, free: 6.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.2643, allocations: 52 kB / 419.7 MB, free: 6.051 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.001003/0.2653, allocations: 1.041 MB / 420.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.2657, allocations: 186 kB / 420.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2657, allocations: 0 / 420.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.2659, allocations: 91.84 kB / 421 MB, free: 4.703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.2664, allocations: 49.03 kB / 421.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.2698, allocations: 2.645 MB / 423.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.2702, allocations: 0.748 MB / 424.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.2704, allocations: 25.94 kB / 424.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.2705, allocations: 67.42 kB / 424.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2705, allocations: 0 / 424.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.2986, allocations: 4.458 MB / 429 MB, free: 12.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.191, allocations: 11.42 kB / 429 MB, free: 12.66 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.1.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