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.001211/0.001212, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001293, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59 kB / 306.4 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0857/0.08709, allocations: 50.53 MB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003597/0.09073, allocations: 2.484 MB / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.09202, allocations: 0.6545 MB / 360 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.09221, allocations: 4 kB / 360 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.09238, allocations: 27.78 kB / 360.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.09256, allocations: 59.48 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.09281, allocations: 63.92 kB / 360.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.09308, allocations: 250.8 kB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.09336, allocations: 89.88 kB / 360.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.09357, allocations: 103.6 kB / 360.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.09372, allocations: 103.5 kB / 360.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.09376, allocations: 12 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.09384, allocations: 16 kB / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.09388, allocations: 43.84 kB / 360.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.094, allocations: 111.4 kB / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.09425, allocations: 259.3 kB / 361.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.09426, allocations: 0 / 361.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.09427, allocations: 0 / 361.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.09429, allocations: 0 / 361.1 MB, free: 9.934 MB / 302.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.0007521/0.09504, allocations: 0.5146 MB / 361.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.09509, allocations: 11.97 kB / 361.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.555e-05/0.09515, allocations: 58.73 kB / 361.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.0955, allocations: 44.62 kB / 361.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.09575, allocations: 243.9 kB / 362 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.09577, allocations: 12.81 kB / 362 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.09582, allocations: 28.28 kB / 362 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.09621, allocations: 217.1 kB / 362.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.09624, allocations: 3.984 kB / 362.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.09627, allocations: 16 kB / 362.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.09628, allocations: 7.938 kB / 362.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.0966, allocations: 147.8 kB / 362.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.09777, allocations: 0.7832 MB / 363.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.09815, allocations: 197 kB / 363.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.09838, allocations: 105.7 kB / 363.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.09841, allocations: 192 / 363.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.09843, allocations: 42.5 kB / 363.5 MB, free: 7.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.323e-06/0.09844, allocations: 0 / 363.5 MB, free: 7.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001585/0.1, allocations: 0.8709 MB / 364.4 MB, free: 6.352 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1001, allocations: 89.09 kB / 364.5 MB, free: 6.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.1002, allocations: 182.5 kB / 364.7 MB, free: 6.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1003, allocations: 29.7 kB / 364.7 MB, free: 6.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.1004, allocations: 140.4 kB / 364.9 MB, free: 5.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.1004, allocations: 90.66 kB / 364.9 MB, free: 5.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.1005, allocations: 45.7 kB / 365 MB, free: 5.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1006, allocations: 338.8 kB / 365.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1008, allocations: 63.97 kB / 365.4 MB, free: 5.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.1009, allocations: 112.2 kB / 365.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.1013, allocations: 183.3 kB / 365.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1013, allocations: 3.938 kB / 365.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003925/0.1017, allocations: 249.2 kB / 365.9 MB, free: 4.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1018, allocations: 4 kB / 365.9 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1018, allocations: 4 kB / 365.9 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1018, allocations: 0 / 365.9 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.102, allocations: 64 kB / 366 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1021, allocations: 8 kB / 366 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1022, allocations: 15.92 kB / 366 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.1022, allocations: 8 kB / 366 MB, free: 4.664 MB / 302.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.000109/0.1023, allocations: 142.8 kB / 366.2 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.1024, allocations: 23.72 kB / 366.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.1024, allocations: 29.86 kB / 366.2 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1024, allocations: 4 kB / 366.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1025, allocations: 0 / 366.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1025, allocations: 4 kB / 366.2 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007562/0.1032, allocations: 0.5825 MB / 366.8 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.1032, allocations: 0 / 366.8 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.1035, allocations: 63.94 kB / 366.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1035, allocations: 4 kB / 366.9 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.1036, allocations: 8 kB / 366.9 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1036, allocations: 7.922 kB / 366.9 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1036, allocations: 3.938 kB / 366.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.1042, allocations: 489.7 kB / 367.4 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.1043, allocations: 100.8 kB / 367.5 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1043, allocations: 0 / 367.5 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1045, allocations: 19.97 kB / 367.5 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.1045, allocations: 19.92 kB / 367.5 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1046, allocations: 8 kB / 367.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1047, allocations: 140.9 kB / 367.6 MB, free: 2.914 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.763e-06/0.1047, allocations: 0 / 367.6 MB, free: 2.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003481/0.105, allocations: 51.94 kB / 367.7 MB, free: 2.863 MB / 302.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.001041/0.1061, allocations: 1.033 MB / 368.7 MB, free: 1.797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003667/0.1065, allocations: 179.8 kB / 368.9 MB, free: 1.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1065, allocations: 4.188 kB / 368.9 MB, free: 1.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.1067, allocations: 91.84 kB / 369 MB, free: 1.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.1072, allocations: 39.98 kB / 369 MB, free: 1.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1234/0.2306, allocations: 2.713 MB / 371.7 MB, free: 18.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.2308, allocations: 0.7487 MB / 372.5 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.2309, allocations: 28.69 kB / 372.5 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/0.231, allocations: 69.3 kB / 372.6 MB, free: 18 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.231, allocations: 0 / 372.6 MB, free: 18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2191/0.4501, allocations: 4.144 MB / 376.7 MB, free: 17.68 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/0.4503, allocations: 212.3 kB / 376.9 MB, free: 17.42 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.435, allocations: 3.938 kB / 376.9 MB, free: 17.41 MB / 302.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