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.001078/0.001078, allocations: 101.6 kB / 17.72 MB, free: 5.371 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.001109/0.001109, allocations: 188.1 kB / 18.66 MB, free: 4.445 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.355/1.355, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001309/0.001309, allocations: 47.94 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08947, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003532/0.09304, allocations: 2.397 MB / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006707/0.09374, allocations: 243.1 kB / 377.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.09399, allocations: 8 kB / 377.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.09424, allocations: 39.58 kB / 377.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.09454, allocations: 91.19 kB / 377.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.09478, allocations: 47.94 kB / 377.4 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.09516, allocations: 290.6 kB / 377.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.0954, allocations: 117.8 kB / 377.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.09558, allocations: 107.6 kB / 378 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.09576, allocations: 115.5 kB / 378.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.09581, allocations: 24 kB / 378.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.45e-05/0.09586, allocations: 24 kB / 378.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.09591, allocations: 51.83 kB / 378.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.09605, allocations: 143.3 kB / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.09636, allocations: 283 kB / 378.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.09638, allocations: 3.938 kB / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09638, allocations: 0 / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.09641, allocations: 0 / 378.6 MB, free: 1.129 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.0008512/0.09727, allocations: 0.538 MB / 379.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.09731, allocations: 8.031 kB / 379.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.162e-05/0.09739, allocations: 62.72 kB / 379.2 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.09746, allocations: 28.66 kB / 379.2 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.09782, allocations: 256.5 kB / 379.5 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.09785, allocations: 16.94 kB / 379.5 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.09791, allocations: 24.38 kB / 379.5 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.165/0.2629, allocations: 247 kB / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.263, allocations: 2.094 kB / 379.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.263, allocations: 11.05 kB / 379.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.263, allocations: 6.188 kB / 379.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.2633, allocations: 158.5 kB / 379.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/0.2643, allocations: 0.7913 MB / 380.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.2647, allocations: 296.8 kB / 381 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.265, allocations: 129.6 kB / 381.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.265, allocations: 6 kB / 381.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.265, allocations: 42.5 kB / 381.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.265, allocations: 0 / 381.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002443/0.2675, allocations: 1.955 MB / 383.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.2675, allocations: 111.8 kB / 383.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2677, allocations: 184.1 kB / 383.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.2677, allocations: 36.02 kB / 383.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.2678, allocations: 132.5 kB / 383.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.2679, allocations: 166.2 kB / 383.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.268, allocations: 72.84 kB / 383.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.117e-05/0.268, allocations: 339.4 kB / 384.2 MB, free: 9.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.2682, allocations: 90.72 kB / 384.2 MB, free: 9.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.2683, allocations: 158.1 kB / 384.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.2687, allocations: 287.4 kB / 384.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2687, allocations: 3.938 kB / 384.7 MB, free: 9.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004205/0.2691, allocations: 333 kB / 385 MB, free: 9.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2691, allocations: 8.281 kB / 385 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2691, allocations: 2.281 kB / 385 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2692, allocations: 4.078 kB / 385 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.2695, allocations: 92.73 kB / 385.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.2695, allocations: 3.906 kB / 385.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.2696, allocations: 11.22 kB / 385.1 MB, free: 9.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2696, allocations: 15.16 kB / 385.1 MB, free: 9.457 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 9.805e-05/0.2697, allocations: 159.3 kB / 385.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.2698, allocations: 33.09 kB / 385.3 MB, free: 9.289 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.304e-05/0.2699, allocations: 35.98 kB / 385.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2699, allocations: 6.531 kB / 385.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.2699, allocations: 1.906 kB / 385.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.2699, allocations: 2.156 kB / 385.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.271, allocations: 1.065 MB / 386.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.271, allocations: 6.75 kB / 386.4 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.2714, allocations: 87.91 kB / 386.5 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2714, allocations: 5.188 kB / 386.5 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.2714, allocations: 14.78 kB / 386.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.2714, allocations: 5.531 kB / 386.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2714, allocations: 7.938 kB / 386.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.272, allocations: 0.7245 MB / 387.3 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.2721, allocations: 103 kB / 387.4 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.2721, allocations: 14.38 kB / 387.4 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.2723, allocations: 10.86 kB / 387.4 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.2724, allocations: 32.53 kB / 387.4 MB, free: 7.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.2724, allocations: 16.16 kB / 387.5 MB, free: 7.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.783e-05/0.2725, allocations: 146.7 kB / 387.6 MB, free: 7.719 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2725, allocations: 0 / 387.6 MB, free: 7.719 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000401/0.2729, allocations: 72.59 kB / 387.7 MB, free: 7.707 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.0008017/0.2737, allocations: 1.264 MB / 388.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.2741, allocations: 277.4 kB / 389.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2742, allocations: 1.062 kB / 389.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.2744, allocations: 152.1 kB / 389.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.275, allocations: 61.5 kB / 389.4 MB, free: 6.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.2782, allocations: 3.286 MB / 392.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.2785, allocations: 0.7673 MB / 393.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.2786, allocations: 31.86 kB / 393.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.2787, allocations: 90.97 kB / 393.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2788, allocations: 0 / 393.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.619/0.8978, allocations: 6.029 MB / 399.6 MB, free: 2.223 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/11.27, allocations: 5.359 kB / 399.6 MB, free: 2.219 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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