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.001045/0.001045, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.0011/0.0011, allocations: 195 kB / 18 MB, free: 5.105 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.283/1.283, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000972/0.000972, allocations: 35.94 kB / 350.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2473, allocations: 49.45 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003263/0.2506, allocations: 2.426 MB / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004782/0.2511, allocations: 239.1 kB / 402.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2512, allocations: 8 kB / 402.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.2514, allocations: 43.52 kB / 402.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.2515, allocations: 87.2 kB / 403 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.2517, allocations: 59.91 kB / 403.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.252, allocations: 286.7 kB / 403.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.2522, allocations: 101.7 kB / 403.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.2523, allocations: 107.6 kB / 403.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.2524, allocations: 127.5 kB / 403.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.2525, allocations: 20 kB / 403.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.446e-05/0.2525, allocations: 24 kB / 403.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.2525, allocations: 51.78 kB / 403.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.867e-05/0.2526, allocations: 127.4 kB / 403.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.2529, allocations: 300.5 kB / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2529, allocations: 0 / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2529, allocations: 0 / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2529, allocations: 0 / 404.2 MB, free: 4.828 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.0006676/0.2536, allocations: 0.5459 MB / 404.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2536, allocations: 8.031 kB / 404.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.2537, allocations: 54.73 kB / 404.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.2538, allocations: 28.66 kB / 404.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.254, allocations: 245.1 kB / 405.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.2541, allocations: 24.94 kB / 405.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.2541, allocations: 28.36 kB / 405.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.2545, allocations: 236 kB / 405.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.2545, allocations: 11.86 kB / 405.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.2546, allocations: 12 kB / 405.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2546, allocations: 4 kB / 405.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.2548, allocations: 163.8 kB / 405.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009251/0.2558, allocations: 0.7931 MB / 406.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.2562, allocations: 303.6 kB / 406.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.2564, allocations: 130.5 kB / 406.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.2565, allocations: 7.938 kB / 406.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.2565, allocations: 30.56 kB / 406.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.2565, allocations: 3.938 kB / 406.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002323/0.2588, allocations: 1.939 MB / 408.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.2589, allocations: 122.7 kB / 408.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2591, allocations: 183.8 kB / 409 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.2591, allocations: 33.7 kB / 409.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.2592, allocations: 144.6 kB / 409.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.393e-05/0.2593, allocations: 157.6 kB / 409.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-05/0.2594, allocations: 82.12 kB / 409.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2595, allocations: 330.8 kB / 409.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.2596, allocations: 88.84 kB / 409.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.2598, allocations: 158.3 kB / 410 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.2601, allocations: 272.2 kB / 410.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2601, allocations: 0 / 410.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004261/0.2606, allocations: 348.3 kB / 410.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2606, allocations: 7.938 kB / 410.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2606, allocations: 4 kB / 410.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2606, allocations: 4 kB / 410.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.2609, allocations: 95.94 kB / 410.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.261, allocations: 7.984 kB / 410.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.2611, allocations: 8 kB / 410.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.2611, allocations: 16.94 kB / 410.8 MB, free: 13.68 MB / 334.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.0001196/0.2612, allocations: 149.7 kB / 410.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.2613, allocations: 35.56 kB / 410.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.076e-05/0.2614, allocations: 37.86 kB / 411 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2614, allocations: 4 kB / 411 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2614, allocations: 7.938 kB / 411 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2614, allocations: 4.047 kB / 411 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.2626, allocations: 1.054 MB / 412 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.2626, allocations: 8 kB / 412.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.263, allocations: 95.83 kB / 412.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.263, allocations: 4 kB / 412.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.263, allocations: 11.94 kB / 412.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.263, allocations: 4 kB / 412.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.263, allocations: 4.281 kB / 412.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.2637, allocations: 0.7304 MB / 412.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.2638, allocations: 100.8 kB / 413 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.2639, allocations: 12.05 kB / 413 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.2641, allocations: 12 kB / 413 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.2641, allocations: 39.84 kB / 413.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.2641, allocations: 16 kB / 413.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.597e-05/0.2642, allocations: 136.5 kB / 413.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2643, allocations: 0 / 413.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003987/0.2647, allocations: 72 kB / 413.3 MB, free: 10.99 MB / 334.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.000904/0.2656, allocations: 1.267 MB / 414.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004186/0.266, allocations: 275.6 kB / 414.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.266, allocations: 0 / 414.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.2662, allocations: 140.5 kB / 415 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.2668, allocations: 77.45 kB / 415 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.2702, allocations: 3.279 MB / 418.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.2705, allocations: 0.7683 MB / 419.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.2706, allocations: 34.95 kB / 419.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.2707, allocations: 91.41 kB / 419.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2707, allocations: 0 / 419.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.2938, allocations: 6.022 MB / 425.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/7.968, allocations: 7.641 kB / 425.2 MB, free: 14.9 MB / 350.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