Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",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.00112/0.00112, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001103/0.001103, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.328/1.328, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 47.08 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.0843, allocations: 49.45 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003973/0.08831, allocations: 2.418 MB / 352.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005817/0.08892, allocations: 239.1 kB / 352.8 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.08914, allocations: 7.938 kB / 352.8 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.08935, allocations: 43.58 kB / 352.9 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.08956, allocations: 87.27 kB / 353 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.08976, allocations: 55.86 kB / 353 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.09009, allocations: 290.7 kB / 353.3 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.09032, allocations: 97.69 kB / 353.4 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.09047, allocations: 103.6 kB / 353.5 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.09068, allocations: 119.5 kB / 353.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.09084, allocations: 24 kB / 353.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.454e-05/0.09089, allocations: 20 kB / 353.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.09094, allocations: 55.77 kB / 353.7 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.09108, allocations: 127.4 kB / 353.8 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.09136, allocations: 291.2 kB / 354.1 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.09137, allocations: 4 kB / 354.1 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09138, allocations: 0 / 354.1 MB, free: 360 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.0914, allocations: 0 / 354.1 MB, free: 360 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007665/0.09217, allocations: 0.538 MB / 354.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.09221, allocations: 8.031 kB / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.24e-05/0.09228, allocations: 66.72 kB / 354.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.09234, allocations: 32.56 kB / 354.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.09258, allocations: 241.8 kB / 355 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.09261, allocations: 20.88 kB / 355 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.09266, allocations: 24.38 kB / 355 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.09313, allocations: 247.9 kB / 355.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.09316, allocations: 3.938 kB / 355.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.09319, allocations: 12 kB / 355.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.0932, allocations: 12 kB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.09346, allocations: 163.8 kB / 355.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/0.09445, allocations: 0.7929 MB / 356.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.09496, allocations: 291.7 kB / 356.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.0953, allocations: 138.5 kB / 356.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.09533, allocations: 4.219 kB / 356.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.09536, allocations: 38.5 kB / 356.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/0.09537, allocations: 4 kB / 356.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002698/0.09807, allocations: 1.946 MB / 358.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.09815, allocations: 114.8 kB / 358.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.09835, allocations: 183.2 kB / 359 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.09838, allocations: 33.7 kB / 359 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.0985, allocations: 140.7 kB / 359.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.09863, allocations: 158.6 kB / 359.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.09876, allocations: 78.12 kB / 359.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.0989, allocations: 338.8 kB / 359.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.09907, allocations: 88.83 kB / 359.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.09927, allocations: 158.3 kB / 359.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.09968, allocations: 273.7 kB / 360.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.09974, allocations: 0 / 360.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005206/0.1003, allocations: 348 kB / 360.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1003, allocations: 7.938 kB / 360.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1003, allocations: 4 kB / 360.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1003, allocations: 8.031 kB / 360.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.1007, allocations: 91.91 kB / 360.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.1007, allocations: 7.984 kB / 360.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1008, allocations: 19.94 kB / 360.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.1008, allocations: 12 kB / 360.7 MB, free: 9.184 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001491/0.101, allocations: 149.7 kB / 360.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.1011, allocations: 31.66 kB / 360.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.846e-05/0.1012, allocations: 37.86 kB / 360.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1012, allocations: 4 kB / 360.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.1012, allocations: 4 kB / 360.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.1012, allocations: 4 kB / 360.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.1026, allocations: 1.061 MB / 362 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.1026, allocations: 4.266 kB / 362 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.103, allocations: 91.91 kB / 362.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.103, allocations: 7.938 kB / 362.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.103, allocations: 16 kB / 362.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.103, allocations: 4 kB / 362.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.103, allocations: 11.92 kB / 362.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.1037, allocations: 0.717 MB / 362.8 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.1038, allocations: 116.6 kB / 362.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.1039, allocations: 16.06 kB / 363 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.1041, allocations: 8 kB / 363 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.1041, allocations: 27.91 kB / 363 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.1041, allocations: 16 kB / 363 MB, free: 6.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.1043, allocations: 140.4 kB / 363.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.162e-06/0.1044, allocations: 4 kB / 363.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.1048, allocations: 72 kB / 363.2 MB, free: 6.508 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.0009525/0.1058, allocations: 1.263 MB / 364.5 MB, free: 5.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004386/0.1062, allocations: 283.7 kB / 364.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1062, allocations: 4.094 kB / 364.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.1064, allocations: 151.6 kB / 364.9 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/0.1072, allocations: 61.17 kB / 365 MB, free: 4.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.1108, allocations: 3.291 MB / 368.3 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1111, allocations: 0.7644 MB / 369 MB, free: 436 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.1112, allocations: 30.97 kB / 369.1 MB, free: 408 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.1113, allocations: 95.41 kB / 369.1 MB, free: 316 kB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1113, allocations: 0 / 369.1 MB, free: 316 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1741/0.2854, allocations: 5.814 MB / 375 MB, free: 25.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.828, allocations: 2.406 kB / 375 MB, free: 25.3 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches