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.0008856/0.0008856, allocations: 92.83 kB / 17.3 MB, free: 6.344 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.000971/0.0009709, allocations: 183.5 kB / 18.21 MB, free: 5.527 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.211/1.211, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004343/0.0004344, allocations: 12 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07938/0.07982, allocations: 47.58 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002276/0.08213, allocations: 2.091 MB / 331.1 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.08293, allocations: 0.6048 MB / 331.7 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-05/0.08303, allocations: 4 kB / 331.8 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.08315, allocations: 35.7 kB / 331.8 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.08327, allocations: 59.48 kB / 331.8 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.08345, allocations: 51.94 kB / 331.9 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.0837, allocations: 246.9 kB / 332.1 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.08386, allocations: 82.17 kB / 332.2 MB, free: 484 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.08399, allocations: 79.72 kB / 332.3 MB, free: 404 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.08412, allocations: 99.47 kB / 332.4 MB, free: 304 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.08416, allocations: 12 kB / 332.4 MB, free: 292 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.721e-05/0.08419, allocations: 8 kB / 332.4 MB, free: 284 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.08424, allocations: 39.84 kB / 332.4 MB, free: 244 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.676e-05/0.08434, allocations: 133.1 kB / 332.6 MB, free: 104 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.08457, allocations: 239 kB / 332.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.08458, allocations: 0 / 332.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.08459, allocations: 0 / 332.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.0846, allocations: 0 / 332.8 MB, free: 15.87 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.0006341/0.08524, allocations: 499.1 kB / 333.3 MB, free: 15.33 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.08529, allocations: 8.031 kB / 333.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.08535, allocations: 58.72 kB / 333.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.08541, allocations: 28.56 kB / 333.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.08562, allocations: 236.6 kB / 333.6 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.08565, allocations: 16.81 kB / 333.6 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.08569, allocations: 16.38 kB / 333.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.08608, allocations: 241 kB / 333.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.08611, allocations: 0 / 333.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.08613, allocations: 4 kB / 333.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.08614, allocations: 8 kB / 333.9 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.08646, allocations: 147.9 kB / 334 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.08751, allocations: 0.7987 MB / 334.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.0879, allocations: 201 kB / 335 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.08813, allocations: 113.6 kB / 335.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.08815, allocations: 4.188 kB / 335.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.08818, allocations: 46.48 kB / 335.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.08819, allocations: 0 / 335.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.00147/0.08967, allocations: 0.8797 MB / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.08972, allocations: 81.11 kB / 336.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.08987, allocations: 182 kB / 336.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.0899, allocations: 33.7 kB / 336.4 MB, free: 11.97 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.08998, allocations: 140.4 kB / 336.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.09005, allocations: 94.64 kB / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.0901, allocations: 25.72 kB / 336.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.09021, allocations: 330.8 kB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.09037, allocations: 71.91 kB / 337 MB, free: 11.3 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.09054, allocations: 116.2 kB / 337.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.09088, allocations: 204.4 kB / 337.3 MB, free: 10.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.09089, allocations: 3.938 kB / 337.3 MB, free: 10.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004107/0.09131, allocations: 249.3 kB / 337.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.09133, allocations: 4.094 kB / 337.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.09134, allocations: 8 kB / 337.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.09136, allocations: 0 / 337.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.09161, allocations: 63.91 kB / 337.7 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.09162, allocations: 0 / 337.7 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.09174, allocations: 19.84 kB / 337.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.09177, allocations: 15.98 kB / 337.7 MB, free: 10.6 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.0001094/0.09188, allocations: 142.2 kB / 337.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.09194, allocations: 19.81 kB / 337.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.05e-05/0.09201, allocations: 29.81 kB / 337.9 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.09202, allocations: 4 kB / 337.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.09203, allocations: 7.922 kB / 337.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.09204, allocations: 0 / 337.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007562/0.0928, allocations: 0.5903 MB / 338.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.09282, allocations: 0 / 338.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.09308, allocations: 63.91 kB / 338.5 MB, free: 9.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.09309, allocations: 0 / 338.5 MB, free: 9.668 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.09311, allocations: 8 kB / 338.6 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.09313, allocations: 12.03 kB / 338.6 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.09313, allocations: 0 / 338.6 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.09375, allocations: 497 kB / 339 MB, free: 9.137 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.09382, allocations: 104.8 kB / 339.2 MB, free: 9.016 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.09385, allocations: 8 kB / 339.2 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.09402, allocations: 11.94 kB / 339.2 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.09407, allocations: 19.97 kB / 339.2 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.09409, allocations: 12 kB / 339.2 MB, free: 8.965 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.607e-05/0.09418, allocations: 128.3 kB / 339.3 MB, free: 8.84 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09419, allocations: 0 / 339.3 MB, free: 8.84 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.09451, allocations: 52 kB / 339.4 MB, free: 8.789 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.0008267/0.09535, allocations: 1.042 MB / 340.4 MB, free: 7.711 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003616/0.09572, allocations: 179.8 kB / 340.6 MB, free: 7.535 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.09573, allocations: 4 kB / 340.6 MB, free: 7.531 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.09591, allocations: 104.2 kB / 340.7 MB, free: 7.43 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.0964, allocations: 39.25 kB / 340.7 MB, free: 7.395 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.09932, allocations: 2.819 MB / 343.6 MB, free: 4.445 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.09961, allocations: 0.7441 MB / 344.3 MB, free: 3.676 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.535e-05/0.09972, allocations: 29.88 kB / 344.3 MB, free: 3.645 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.09983, allocations: 63.42 kB / 344.4 MB, free: 3.582 MB / 286.1 MB Notification: Performance of SimCode: time 4.5e-07/0.09983, allocations: 3.938 kB / 344.4 MB, free: 3.578 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3111/0.4109, allocations: 3.993 MB / 348.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.4111, allocations: 197 kB / 348.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.425, allocations: 7.875 kB / 348.6 MB, free: 15.33 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