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.001206/0.001206, allocations: 114.8 kB / 17.72 MB, free: 5.418 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.001165/0.001165, allocations: 184.1 kB / 18.65 MB, free: 4.492 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.272/1.272, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001653/0.001653, allocations: 56.34 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08487, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00373/0.08864, allocations: 2.409 MB / 377 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006056/0.08927, allocations: 231.1 kB / 377.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.08947, allocations: 4 kB / 377.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.0897, allocations: 47.58 kB / 377.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.08992, allocations: 83.2 kB / 377.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.09013, allocations: 59.91 kB / 377.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.09051, allocations: 294.6 kB / 377.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.09074, allocations: 101.7 kB / 377.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.0909, allocations: 99.66 kB / 377.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.09112, allocations: 119.5 kB / 378.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.09117, allocations: 24 kB / 378.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-05/0.09123, allocations: 20 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.09129, allocations: 51.83 kB / 378.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.09145, allocations: 135.3 kB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.09179, allocations: 298.7 kB / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.0918, allocations: 0 / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09181, allocations: 0 / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.09183, 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.0008347/0.09266, allocations: 0.5417 MB / 379.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.09272, allocations: 16.02 kB / 379.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.877e-05/0.09279, allocations: 62.72 kB / 379.2 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.09286, allocations: 36.69 kB / 379.2 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.0932, allocations: 244.7 kB / 379.5 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.09323, allocations: 16.94 kB / 379.5 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.09329, allocations: 24.38 kB / 379.5 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1445/0.2378, allocations: 246 kB / 379.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.2378, allocations: 2.844 kB / 379.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.2379, allocations: 13.31 kB / 379.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.2379, allocations: 8.219 kB / 379.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.2381, allocations: 160.9 kB / 379.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009278/0.2391, allocations: 0.7924 MB / 380.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.2395, allocations: 293.6 kB / 381 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.2397, allocations: 134 kB / 381.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.2398, allocations: 2.688 kB / 381.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.2398, allocations: 40.89 kB / 381.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.2398, allocations: 0 / 381.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002289/0.2421, allocations: 1.96 MB / 383.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.2421, allocations: 108.7 kB / 383.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2423, allocations: 188.4 kB / 383.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2423, allocations: 34.7 kB / 383.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.2424, allocations: 142.3 kB / 383.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/0.2425, allocations: 170.7 kB / 383.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.2426, allocations: 71.58 kB / 383.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.2427, allocations: 339 kB / 384.2 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.2428, allocations: 93.69 kB / 384.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.243, allocations: 159.5 kB / 384.4 MB, free: 9.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.2433, allocations: 281.2 kB / 384.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.2433, allocations: 6.125 kB / 384.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004265/0.2438, allocations: 343.4 kB / 385 MB, free: 9.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2438, allocations: 6.344 kB / 385 MB, free: 9.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2438, allocations: 2.594 kB / 385 MB, free: 9.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2438, allocations: 4.062 kB / 385 MB, free: 9.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.2441, allocations: 92.09 kB / 385.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2442, allocations: 4.75 kB / 385.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.2443, allocations: 11.84 kB / 385.2 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.2443, allocations: 15.8 kB / 385.2 MB, free: 9.453 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.511e-05/0.2444, allocations: 154.6 kB / 385.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.2445, allocations: 36.61 kB / 385.4 MB, free: 9.285 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.121e-05/0.2445, allocations: 37.27 kB / 385.4 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2446, allocations: 6.969 kB / 385.4 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.2446, allocations: 1.062 kB / 385.4 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.2446, allocations: 3.219 kB / 385.4 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.2457, allocations: 1.06 MB / 386.5 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2457, allocations: 3.562 kB / 386.5 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.2461, allocations: 88.42 kB / 386.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2461, allocations: 6.156 kB / 386.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.2461, allocations: 15.66 kB / 386.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.2461, allocations: 4.578 kB / 386.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2461, allocations: 7.594 kB / 386.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000595/0.2467, allocations: 0.7238 MB / 387.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.2468, allocations: 108 kB / 387.4 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.2468, allocations: 16.12 kB / 387.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.247, allocations: 11.53 kB / 387.4 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.2471, allocations: 31.39 kB / 387.5 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.2471, allocations: 16.05 kB / 387.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.2472, allocations: 142.4 kB / 387.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2472, allocations: 0 / 387.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003912/0.2476, allocations: 76.84 kB / 387.7 MB, free: 7.695 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.0007408/0.2483, allocations: 1.263 MB / 389 MB, free: 6.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.2488, allocations: 276.4 kB / 389.2 MB, free: 6.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2488, allocations: 1.281 kB / 389.2 MB, free: 6.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.249, allocations: 144.6 kB / 389.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.2496, allocations: 72.58 kB / 389.4 MB, free: 6.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.2526, allocations: 3.286 MB / 392.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2528, allocations: 0.7674 MB / 393.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.253, allocations: 39.48 kB / 393.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.2531, allocations: 90.67 kB / 393.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.2531, allocations: 0 / 393.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.2816, allocations: 5.94 MB / 399.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.361, allocations: 16.95 kB / 399.6 MB, free: 2.246 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