Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_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.001152/0.001152, allocations: 104.1 kB / 17.15 MB, free: 6.309 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.001192/0.001192, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 48.41 kB / 280.1 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09222, allocations: 46.64 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003555/0.09582, allocations: 2.449 MB / 329.1 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.09672, allocations: 0.6164 MB / 329.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.09687, allocations: 11.94 kB / 329.8 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.09705, allocations: 23.78 kB / 329.8 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.09718, allocations: 59.53 kB / 329.9 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.09738, allocations: 47.95 kB / 329.9 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.09764, allocations: 246.9 kB / 330.1 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.09782, allocations: 86.19 kB / 330.2 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.09795, allocations: 87.64 kB / 330.3 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.09809, allocations: 107.5 kB / 330.4 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.09813, allocations: 16 kB / 330.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.464e-05/0.09817, allocations: 12 kB / 330.4 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.09823, allocations: 39.84 kB / 330.5 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.0984, allocations: 115.4 kB / 330.6 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.09872, allocations: 239.1 kB / 330.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09874, allocations: 0 / 330.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09876, allocations: 4 kB / 330.8 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.09877, allocations: 0 / 330.8 MB, free: 0.6172 MB / 270.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.0007017/0.09948, allocations: 0.5224 MB / 331.4 MB, free: 44 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.09952, allocations: 8.031 kB / 331.4 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.304e-05/0.0996, allocations: 58.67 kB / 331.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/0.09968, allocations: 28.66 kB / 331.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.09991, allocations: 240.6 kB / 331.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.09994, allocations: 20.75 kB / 331.7 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.09998, allocations: 16.38 kB / 331.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.1004, allocations: 217.1 kB / 331.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1004, allocations: 4 kB / 331.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1004, allocations: 4 kB / 331.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1004, allocations: 8 kB / 331.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.1008, allocations: 147.8 kB / 332.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1018, allocations: 0.7947 MB / 332.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.1022, allocations: 205 kB / 333.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.1024, allocations: 101.7 kB / 333.2 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1024, allocations: 4.188 kB / 333.2 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1025, allocations: 34.5 kB / 333.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.1025, allocations: 0 / 333.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001403/0.1039, allocations: 0.8602 MB / 334.1 MB, free: 13.06 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1039, allocations: 85.05 kB / 334.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1041, allocations: 186 kB / 334.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1041, allocations: 29.7 kB / 334.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.1042, allocations: 140.4 kB / 334.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.1043, allocations: 94.64 kB / 334.6 MB, free: 12.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.1043, allocations: 49.61 kB / 334.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1044, allocations: 330.8 kB / 335 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1046, allocations: 63.97 kB / 335 MB, free: 12.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.1047, allocations: 108.2 kB / 335.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.105, allocations: 188.1 kB / 335.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1051, allocations: 3.938 kB / 335.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000376/0.1054, allocations: 241.3 kB / 335.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1055, allocations: 11.12 kB / 335.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1055, allocations: 0 / 335.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1055, allocations: 4 kB / 335.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.1057, allocations: 59.91 kB / 335.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1057, allocations: 0 / 335.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1058, allocations: 19.94 kB / 335.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1059, allocations: 12 kB / 335.7 MB, free: 11.38 MB / 286.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.0001212/0.106, allocations: 150.2 kB / 335.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.1061, allocations: 15.81 kB / 335.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.1061, allocations: 29.81 kB / 335.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1061, allocations: 4 kB / 335.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1061, allocations: 0 / 335.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1061, allocations: 7.984 kB / 335.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.1069, allocations: 0.5786 MB / 336.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1069, allocations: 4 kB / 336.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.1071, allocations: 67.89 kB / 336.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1072, allocations: 0 / 336.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1072, allocations: 12.09 kB / 336.5 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1072, allocations: 3.938 kB / 336.5 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1072, allocations: 4 kB / 336.5 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.1078, allocations: 488.9 kB / 337 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.1078, allocations: 96.86 kB / 337.1 MB, free: 9.816 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.1079, allocations: 12.03 kB / 337.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.108, allocations: 7.938 kB / 337.1 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.1081, allocations: 24.05 kB / 337.2 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1081, allocations: 8 kB / 337.2 MB, free: 9.766 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.792e-05/0.1082, allocations: 132.3 kB / 337.3 MB, free: 9.637 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1082, allocations: 4 kB / 337.3 MB, free: 9.633 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.1085, allocations: 48 kB / 337.3 MB, free: 9.586 MB / 286.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.0008135/0.1093, allocations: 1.03 MB / 338.4 MB, free: 8.52 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.1097, allocations: 179.8 kB / 338.6 MB, free: 8.344 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1097, allocations: 0 / 338.6 MB, free: 8.344 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.1098, allocations: 97.34 kB / 338.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.1103, allocations: 40.47 kB / 338.7 MB, free: 8.211 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.1131, allocations: 2.715 MB / 341.4 MB, free: 5.375 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1134, allocations: 0.7402 MB / 342.1 MB, free: 4.609 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.796e-05/0.1135, allocations: 29.88 kB / 342.2 MB, free: 4.578 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.1136, allocations: 71.41 kB / 342.2 MB, free: 4.508 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1136, allocations: 0 / 342.2 MB, free: 4.508 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1799/0.2936, allocations: 4.074 MB / 346.3 MB, free: 412 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.2938, allocations: 209.7 kB / 346.5 MB, free: 144 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.185, allocations: 3.938 kB / 346.5 MB, free: 140 kB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches