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.0009853/0.0009852, allocations: 114.2 kB / 17.28 MB, free: 6.219 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.0009863/0.0009863, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.281/1.281, allocations: 205.1 MB / 224 MB, free: 12.45 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.00146/0.00146, allocations: 56.14 kB / 280.3 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07178/0.07325, allocations: 46.62 MB / 326.9 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003369/0.07666, allocations: 2.445 MB / 329.3 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008422/0.07752, allocations: 0.6203 MB / 329.9 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.296e-05/0.07763, allocations: 7.938 kB / 330 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.07777, allocations: 31.77 kB / 330 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.07788, allocations: 55.53 kB / 330 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.07806, allocations: 43.97 kB / 330.1 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.0783, allocations: 262.8 kB / 330.3 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.07848, allocations: 97.56 kB / 330.4 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.0786, allocations: 95.7 kB / 330.5 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.07873, allocations: 107.5 kB / 330.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.07876, allocations: 20 kB / 330.6 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.15e-05/0.0788, allocations: 20 kB / 330.7 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.754e-05/0.07884, allocations: 51.77 kB / 330.7 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.836e-05/0.07894, allocations: 115.4 kB / 330.8 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.07915, allocations: 255.1 kB / 331.1 MB, free: 468 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.07916, allocations: 0 / 331.1 MB, free: 468 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.07917, allocations: 0 / 331.1 MB, free: 468 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.07918, allocations: 4 kB / 331.1 MB, free: 464 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.0006436/0.07983, allocations: 0.5223 MB / 331.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.07987, allocations: 8.031 kB / 331.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.07993, allocations: 54.73 kB / 331.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.07998, allocations: 24.66 kB / 331.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.08018, allocations: 232.6 kB / 331.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.0802, allocations: 28.73 kB / 331.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.08024, allocations: 20.38 kB / 332 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.0806, allocations: 221.1 kB / 332.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.08062, allocations: 0 / 332.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.08064, allocations: 8 kB / 332.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.08066, allocations: 8 kB / 332.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.08094, allocations: 143.8 kB / 332.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009779/0.08193, allocations: 0.787 MB / 333.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.08227, allocations: 197 kB / 333.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.08248, allocations: 105.8 kB / 333.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.08251, allocations: 8.172 kB / 333.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.08254, allocations: 38.5 kB / 333.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.08255, allocations: 0 / 333.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001347/0.0839, allocations: 0.8596 MB / 334.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.08395, allocations: 85.09 kB / 334.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.08409, allocations: 186 kB / 334.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.08412, allocations: 37.7 kB / 334.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.08419, allocations: 128.4 kB / 334.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/0.08429, allocations: 98.62 kB / 334.9 MB, free: 12.35 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/0.08439, allocations: 53.55 kB / 334.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.08452, allocations: 330.8 kB / 335.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.08472, allocations: 67.95 kB / 335.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.08495, allocations: 112.2 kB / 335.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.0853, allocations: 184.2 kB / 335.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.08531, allocations: 3.938 kB / 335.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003742/0.08569, allocations: 245.3 kB / 335.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.08572, allocations: 4 kB / 335.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.08572, allocations: 0 / 335.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.08574, allocations: 4 kB / 335.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.08598, allocations: 63.91 kB / 335.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.08599, allocations: 3.938 kB / 335.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.08611, allocations: 23.83 kB / 335.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.08613, allocations: 12.09 kB / 335.9 MB, free: 11.21 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 9.446e-05/0.08623, allocations: 141.7 kB / 336.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.08629, allocations: 19.81 kB / 336.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.08635, allocations: 29.86 kB / 336.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.08636, allocations: 0 / 336.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.08637, allocations: 4 kB / 336.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.08638, allocations: 0 / 336.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.08709, allocations: 0.5864 MB / 336.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.08711, allocations: 4 kB / 336.7 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.08736, allocations: 55.91 kB / 336.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.08738, allocations: 0 / 336.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.0874, allocations: 8 kB / 336.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.08741, allocations: 12.03 kB / 336.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.08741, allocations: 400 / 336.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.08796, allocations: 492.9 kB / 337.3 MB, free: 9.77 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.08802, allocations: 96.89 kB / 337.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.08806, allocations: 8 kB / 337.4 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.08823, allocations: 11.94 kB / 337.4 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.08828, allocations: 19.97 kB / 337.4 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.0883, allocations: 8 kB / 337.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.138e-05/0.08839, allocations: 136.3 kB / 337.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08839, allocations: 0 / 337.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.0887, allocations: 52 kB / 337.6 MB, free: 9.426 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.0007507/0.08946, allocations: 1.026 MB / 338.6 MB, free: 8.363 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.08981, allocations: 191.8 kB / 338.8 MB, free: 8.176 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.08982, allocations: 0 / 338.8 MB, free: 8.176 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.08998, allocations: 95.83 kB / 338.9 MB, free: 8.082 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.09046, allocations: 45.69 kB / 338.9 MB, free: 8.039 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.09313, allocations: 2.718 MB / 341.7 MB, free: 5.199 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.09339, allocations: 0.744 MB / 342.4 MB, free: 4.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.932e-05/0.09349, allocations: 25.94 kB / 342.4 MB, free: 4.402 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.09359, allocations: 75.34 kB / 342.5 MB, free: 4.328 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.0936, allocations: 0 / 342.5 MB, free: 4.328 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2214/0.315, allocations: 4.175 MB / 346.7 MB, free: 144 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.3153, allocations: 213.6 kB / 346.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.269, allocations: 4 kB / 346.9 MB, free: 15.87 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","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches