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.001083/0.001083, allocations: 102.5 kB / 17.59 MB, free: 5.555 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.001122/0.001122, allocations: 192 kB / 18.51 MB, free: 4.637 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.259/1.259, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001208/0.001208, allocations: 55.92 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07749/0.07871, allocations: 46.63 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003387/0.08214, allocations: 2.396 MB / 329.8 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009061/0.08308, allocations: 0.6163 MB / 330.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.08322, allocations: 7.938 kB / 330.4 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.08336, allocations: 43.58 kB / 330.4 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.08349, allocations: 71.34 kB / 330.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.0837, allocations: 55.92 kB / 330.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.08394, allocations: 250.9 kB / 330.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.08411, allocations: 97.62 kB / 330.9 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.08424, allocations: 99.64 kB / 331 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.08438, allocations: 111.5 kB / 331.1 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.08443, allocations: 20 kB / 331.1 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.724e-05/0.08447, allocations: 20 kB / 331.2 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.08451, allocations: 47.84 kB / 331.2 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.08463, allocations: 119.4 kB / 331.3 MB, free: 400 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.08485, allocations: 251.1 kB / 331.6 MB, free: 148 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.08486, allocations: 0 / 331.6 MB, free: 148 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.08487, allocations: 0 / 331.6 MB, free: 148 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.08488, allocations: 0 / 331.6 MB, free: 148 kB / 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.0006897/0.08558, allocations: 0.5223 MB / 332.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.08562, allocations: 12.02 kB / 332.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.08568, allocations: 62.67 kB / 332.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.08573, allocations: 24.66 kB / 332.2 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.08594, allocations: 224.7 kB / 332.4 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.08596, allocations: 16.81 kB / 332.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.08601, allocations: 20.38 kB / 332.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.08637, allocations: 225 kB / 332.7 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.08639, allocations: 0 / 332.7 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.08642, allocations: 4 kB / 332.7 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.08643, allocations: 12 kB / 332.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.08672, allocations: 139.9 kB / 332.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009937/0.08772, allocations: 0.7908 MB / 333.6 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.08809, allocations: 213.1 kB / 333.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.08831, allocations: 101.9 kB / 333.9 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.08834, allocations: 4.188 kB / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.08838, allocations: 46.44 kB / 334 MB, free: 13.54 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.08838, allocations: 4 kB / 334 MB, free: 13.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001433/0.08982, allocations: 0.8446 MB / 334.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.08988, allocations: 89.05 kB / 334.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.09004, allocations: 186 kB / 335.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.09006, allocations: 25.7 kB / 335.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.09015, allocations: 140.4 kB / 335.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.09022, allocations: 90.64 kB / 335.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.0903, allocations: 53.61 kB / 335.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.0904, allocations: 330.8 kB / 335.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.09055, allocations: 67.97 kB / 335.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.09071, allocations: 112.2 kB / 335.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.09101, allocations: 184.2 kB / 336.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.09102, allocations: 3.938 kB / 336.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004023/0.09143, allocations: 241.3 kB / 336.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.09145, allocations: 11.12 kB / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.09146, allocations: 0 / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.09148, allocations: 4 kB / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.09173, allocations: 59.91 kB / 336.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.09174, allocations: 8.078 kB / 336.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.09186, allocations: 19.84 kB / 336.4 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.09188, allocations: 19.88 kB / 336.4 MB, free: 10.9 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.0001083/0.092, allocations: 137.8 kB / 336.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.09206, allocations: 15.81 kB / 336.6 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.09212, allocations: 29.86 kB / 336.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.09213, allocations: 4 kB / 336.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.09214, allocations: 3.938 kB / 336.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.09215, allocations: 8 kB / 336.6 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007186/0.09287, allocations: 0.5747 MB / 337.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.09289, allocations: 0 / 337.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.09315, allocations: 68 kB / 337.3 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.09316, allocations: 0 / 337.3 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.09318, allocations: 8 kB / 337.3 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.09319, allocations: 3.938 kB / 337.3 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.0932, allocations: 7.984 kB / 337.3 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.09381, allocations: 494 kB / 337.8 MB, free: 9.457 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.09388, allocations: 96.86 kB / 337.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.09392, allocations: 8 kB / 337.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.09408, allocations: 15.97 kB / 337.9 MB, free: 9.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.09414, allocations: 11.98 kB / 337.9 MB, free: 9.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.09417, allocations: 12 kB / 337.9 MB, free: 9.297 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.454e-05/0.09426, allocations: 140.3 kB / 338 MB, free: 9.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09426, allocations: 0 / 338 MB, free: 9.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.09459, allocations: 44 kB / 338.1 MB, free: 9.117 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.0007522/0.09535, allocations: 1.03 MB / 339.1 MB, free: 8.051 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.09572, allocations: 195.7 kB / 339.3 MB, free: 7.859 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.09573, allocations: 0 / 339.3 MB, free: 7.859 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.09589, allocations: 96.03 kB / 339.4 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.09639, allocations: 41.5 kB / 339.4 MB, free: 7.727 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.09919, allocations: 2.63 MB / 342.1 MB, free: 4.973 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.09947, allocations: 0.7479 MB / 342.8 MB, free: 4.199 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.406e-05/0.09957, allocations: 21.94 kB / 342.8 MB, free: 4.176 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.09968, allocations: 71.41 kB / 342.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.09969, allocations: 0 / 342.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.1195, allocations: 4.315 MB / 347.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.774/8.894, allocations: 11.69 kB / 347.2 MB, free: 15.72 MB / 302.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches