Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_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.001181/0.001181, allocations: 114 kB / 17.74 MB, free: 5.355 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.001257/0.001257, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.368/1.368, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001415/0.001415, allocations: 56.39 kB / 328 MB, free: 3.832 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1063, allocations: 46.62 MB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004453/0.1108, allocations: 2.405 MB / 377 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.1116, allocations: 231.1 kB / 377.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.1119, allocations: 7.938 kB / 377.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.1122, allocations: 51.56 kB / 377.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.1125, allocations: 79.28 kB / 377.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1128, allocations: 59.91 kB / 377.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.1133, allocations: 294.6 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.1135, allocations: 105.7 kB / 377.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.1137, allocations: 107.6 kB / 378 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.114, allocations: 119.4 kB / 378.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.114, allocations: 20 kB / 378.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.1141, allocations: 24 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.1141, allocations: 51.83 kB / 378.2 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.1143, allocations: 131.3 kB / 378.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.1147, allocations: 290.8 kB / 378.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1147, allocations: 7.938 kB / 378.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1147, allocations: 0 / 378.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.1147, allocations: 0 / 378.6 MB, free: 1.133 MB / 318.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.0009617/0.1157, allocations: 0.5455 MB / 379.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.1158, allocations: 16.03 kB / 379.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.788e-05/0.1159, allocations: 58.73 kB / 379.2 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/0.116, allocations: 28.75 kB / 379.2 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.1164, allocations: 248.7 kB / 379.5 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.1164, allocations: 20.94 kB / 379.5 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.1165, allocations: 24.38 kB / 379.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.207/0.3235, allocations: 242.9 kB / 379.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/0.3236, allocations: 3.125 kB / 379.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.3236, allocations: 14.19 kB / 379.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.3236, allocations: 7.938 kB / 379.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.324, allocations: 159.2 kB / 379.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.3254, allocations: 0.7977 MB / 380.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.326, allocations: 285.2 kB / 381 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.3262, allocations: 139.2 kB / 381.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3263, allocations: 3.719 kB / 381.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.3263, allocations: 37.02 kB / 381.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.305e-06/0.3263, allocations: 0.5625 kB / 381.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002804/0.3291, allocations: 1.963 MB / 383.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3292, allocations: 114.3 kB / 383.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.3294, allocations: 184.3 kB / 383.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.3295, allocations: 35.05 kB / 383.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.406e-05/0.3296, allocations: 146.9 kB / 383.6 MB, free: 10.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.3297, allocations: 161.5 kB / 383.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.3298, allocations: 75.64 kB / 383.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.3299, allocations: 337 kB / 384.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.3301, allocations: 90.58 kB / 384.3 MB, free: 9.805 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.3303, allocations: 163.5 kB / 384.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.3307, allocations: 277.4 kB / 384.7 MB, free: 9.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3307, allocations: 3.938 kB / 384.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005956/0.3313, allocations: 351 kB / 385 MB, free: 9.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3314, allocations: 6.016 kB / 385.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3314, allocations: 2.688 kB / 385.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.3314, allocations: 2.875 kB / 385.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.3317, allocations: 92.75 kB / 385.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3318, allocations: 4.609 kB / 385.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.3319, allocations: 14 kB / 385.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.3319, allocations: 11.69 kB / 385.2 MB, free: 9.363 MB / 318.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.000133/0.3321, allocations: 167.9 kB / 385.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.3322, allocations: 32.73 kB / 385.4 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.315e-05/0.3323, allocations: 35.97 kB / 385.4 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3323, allocations: 6.625 kB / 385.4 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.3323, allocations: 0 / 385.4 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.3323, allocations: 4.781 kB / 385.4 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.3337, allocations: 1.061 MB / 386.5 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3337, allocations: 3.438 kB / 386.5 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.3341, allocations: 92.47 kB / 386.6 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.3341, allocations: 4.75 kB / 386.6 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.3342, allocations: 14.56 kB / 386.6 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.3342, allocations: 5.172 kB / 386.6 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.3342, allocations: 7.375 kB / 386.6 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007524/0.335, allocations: 0.7239 MB / 387.3 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.335, allocations: 104.2 kB / 387.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.3351, allocations: 10.81 kB / 387.4 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.3353, allocations: 13.41 kB / 387.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.3354, allocations: 32.28 kB / 387.5 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.3354, allocations: 15.56 kB / 387.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3355, allocations: 142.2 kB / 387.6 MB, free: 7.613 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.71e-07/0.3356, allocations: 5.125 kB / 387.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004616/0.336, allocations: 75.59 kB / 387.7 MB, free: 7.594 MB / 318.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.0009441/0.337, allocations: 1.258 MB / 389 MB, free: 6.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000526/0.3375, allocations: 273.8 kB / 389.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3375, allocations: 0 / 389.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.3377, allocations: 145.3 kB / 389.4 MB, free: 6.406 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007721/0.3385, allocations: 68.69 kB / 389.5 MB, free: 6.383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.3425, allocations: 3.297 MB / 392.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.3428, allocations: 0.7675 MB / 393.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.343, allocations: 34.97 kB / 393.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.3432, allocations: 91.98 kB / 393.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3432, allocations: 0 / 393.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.3705, allocations: 5.936 MB / 399.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.43, allocations: 13.05 kB / 399.6 MB, free: 2.176 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches