Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 101.2 kB / 16.51 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 193.2 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009579/0.0009579, allocations: 43.55 kB / 300.1 MB, free: 6.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07456/0.07553, allocations: 49.45 MB / 349.5 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003699/0.07926, allocations: 2.464 MB / 352 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009597/0.08024, allocations: 0.5726 MB / 352.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.08044, allocations: 8 kB / 352.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.08061, allocations: 31.77 kB / 352.6 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.08076, allocations: 51.48 kB / 352.6 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.08097, allocations: 47.95 kB / 352.7 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.08127, allocations: 258.8 kB / 352.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.08145, allocations: 81.84 kB / 353 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.08161, allocations: 83.66 kB / 353.1 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.08177, allocations: 103.5 kB / 353.2 MB, free: 1 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.08181, allocations: 16 kB / 353.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.806e-05/0.08185, allocations: 12 kB / 353.2 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.0819, allocations: 47.81 kB / 353.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.08202, allocations: 111.4 kB / 353.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.08225, allocations: 247.2 kB / 353.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.08226, allocations: 0 / 353.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.08227, allocations: 0 / 353.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.08228, allocations: 0 / 353.6 MB, free: 0.5742 MB / 286.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.0007139/0.083, allocations: 0.5147 MB / 354.1 MB, free: 12 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.08304, allocations: 11.97 kB / 354.1 MB, free: 0 / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.376e-05/0.08311, allocations: 54.73 kB / 354.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.08316, allocations: 24.66 kB / 354.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.08338, allocations: 236.6 kB / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.08341, allocations: 16.81 kB / 354.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.08345, allocations: 20.28 kB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.08384, allocations: 237 kB / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.08387, allocations: 0 / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.08389, allocations: 4 kB / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.0839, allocations: 8 kB / 354.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.08421, allocations: 139.9 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.08528, allocations: 0.7987 MB / 355.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.08566, allocations: 197 kB / 355.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.08588, allocations: 109.6 kB / 356 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.08592, allocations: 4.188 kB / 356 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.08595, allocations: 34.5 kB / 356 MB, free: 13.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.08596, allocations: 0 / 356 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001435/0.08739, allocations: 0.8603 MB / 356.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.08745, allocations: 85.09 kB / 356.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.0876, allocations: 178.2 kB / 357.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.08764, allocations: 29.7 kB / 357.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.08773, allocations: 144.3 kB / 357.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/0.0878, allocations: 90.66 kB / 357.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-05/0.08789, allocations: 53.69 kB / 357.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.08799, allocations: 326.8 kB / 357.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.08814, allocations: 71.95 kB / 357.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.08832, allocations: 112.1 kB / 357.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.08863, allocations: 184.2 kB / 358.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.08864, allocations: 3.938 kB / 358.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004083/0.08906, allocations: 252 kB / 358.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.08908, allocations: 11.94 kB / 358.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.08909, allocations: 0 / 358.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.08911, allocations: 4 kB / 358.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.08935, allocations: 55.97 kB / 358.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.08937, allocations: 3.938 kB / 358.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.08948, allocations: 19.92 kB / 358.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.08951, allocations: 12.33 kB / 358.5 MB, free: 11.34 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.0001082/0.08962, allocations: 142.2 kB / 358.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.08968, allocations: 23.72 kB / 358.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.08975, allocations: 29.88 kB / 358.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.08975, allocations: 3.984 kB / 358.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.08976, allocations: 0 / 358.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.08977, allocations: 4 kB / 358.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.09051, allocations: 0.5784 MB / 359.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.09052, allocations: 4 kB / 359.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.09078, allocations: 59.91 kB / 359.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.09079, allocations: 0 / 359.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.09082, allocations: 8 kB / 359.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.09083, allocations: 7.938 kB / 359.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.09083, allocations: 0 / 359.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.0914, allocations: 489 kB / 359.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.09147, allocations: 96.95 kB / 359.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.0915, allocations: 8 kB / 359.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.09168, allocations: 15.94 kB / 359.9 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.09173, allocations: 15.97 kB / 359.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.09176, allocations: 12.09 kB / 359.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.09185, allocations: 132.3 kB / 360.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09186, allocations: 0 / 360.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.09218, allocations: 48 kB / 360.1 MB, free: 9.57 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.0008031/0.09299, allocations: 1.046 MB / 361.2 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003473/0.09335, allocations: 176.3 kB / 361.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.09336, allocations: 0 / 361.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.09353, allocations: 95.83 kB / 361.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.09402, allocations: 32.36 kB / 361.5 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.09687, allocations: 2.72 MB / 364.2 MB, free: 5.348 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.09714, allocations: 0.748 MB / 364.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.13e-05/0.09724, allocations: 25.89 kB / 365 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.09735, allocations: 75.34 kB / 365 MB, free: 4.473 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.09736, allocations: 0 / 365 MB, free: 4.473 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.1999, allocations: 4.076 MB / 369.1 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.2001, allocations: 206.2 kB / 369.3 MB, free: 260 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.061, allocations: 0 / 369.3 MB, free: 260 kB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches