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.001077/0.001078, allocations: 108.9 kB / 17.73 MB, free: 5.215 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.001209/0.001209, allocations: 184.2 kB / 18.66 MB, free: 4.289 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.195/1.195, 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.001165/0.001165, allocations: 55.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07855/0.07972, 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.003415/0.08319, allocations: 2.397 MB / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005947/0.08381, allocations: 247 kB / 377.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.084, allocations: 8 kB / 377.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.0842, allocations: 43.58 kB / 377.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.08439, allocations: 79.25 kB / 377.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.08458, allocations: 63.86 kB / 377.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.0849, allocations: 286.7 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.08512, allocations: 109.9 kB / 377.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.08528, allocations: 107.6 kB / 377.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.08547, allocations: 123.5 kB / 378.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.08551, allocations: 24 kB / 378.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.572e-05/0.08557, allocations: 20 kB / 378.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.08562, allocations: 47.84 kB / 378.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.08575, allocations: 143.3 kB / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.08605, allocations: 279 kB / 378.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.08607, allocations: 3.938 kB / 378.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.08607, allocations: 3.938 kB / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.08609, 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.0007212/0.08682, allocations: 0.5458 MB / 379.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.08686, allocations: 8.031 kB / 379.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.08692, allocations: 58.73 kB / 379.2 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.08698, allocations: 28.66 kB / 379.2 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.08728, allocations: 252.5 kB / 379.5 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.0873, allocations: 12.94 kB / 379.5 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.08736, allocations: 32.36 kB / 379.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1515/0.2389, allocations: 243.5 kB / 379.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.239, allocations: 2.172 kB / 379.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.239, allocations: 10.78 kB / 379.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.239, allocations: 6.875 kB / 379.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.2393, allocations: 164.5 kB / 379.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/0.2402, allocations: 0.79 MB / 380.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.2407, allocations: 295.5 kB / 381 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.2409, allocations: 130.8 kB / 381.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.2409, allocations: 4.75 kB / 381.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2409, allocations: 41.81 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.2409, allocations: 1.375 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002249/0.2432, allocations: 1.946 MB / 383.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.2432, allocations: 111.1 kB / 383.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.2434, allocations: 184.9 kB / 383.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2434, allocations: 35.45 kB / 383.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.2435, allocations: 133.9 kB / 383.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.2436, allocations: 168.1 kB / 383.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.2436, allocations: 72.42 kB / 383.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.2437, allocations: 340.5 kB / 384.1 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.2439, allocations: 96.28 kB / 384.2 MB, free: 9.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.244, allocations: 150.5 kB / 384.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.2443, allocations: 288.5 kB / 384.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2443, allocations: 5.031 kB / 384.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004018/0.2447, allocations: 339 kB / 385 MB, free: 9.453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2448, allocations: 6.609 kB / 385 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2448, allocations: 3.688 kB / 385 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2448, allocations: 4.188 kB / 385 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.2451, allocations: 92.69 kB / 385.1 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2451, allocations: 8.078 kB / 385.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.2452, allocations: 11.5 kB / 385.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.2453, allocations: 15.17 kB / 385.1 MB, free: 9.43 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.129e-05/0.2454, allocations: 155.3 kB / 385.3 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.2454, allocations: 34.2 kB / 385.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.313e-05/0.2455, allocations: 35.11 kB / 385.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2455, allocations: 6.062 kB / 385.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2455, allocations: 1.703 kB / 385.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2455, allocations: 3.203 kB / 385.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.2466, allocations: 1.067 MB / 386.4 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2466, allocations: 7.438 kB / 386.4 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.2469, allocations: 83.83 kB / 386.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.247, allocations: 4.656 kB / 386.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.247, allocations: 15.22 kB / 386.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.247, allocations: 5.047 kB / 386.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.247, allocations: 6.938 kB / 386.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.2475, allocations: 0.7202 MB / 387.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.2476, allocations: 104.5 kB / 387.4 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.2476, allocations: 15.31 kB / 387.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.2478, allocations: 7.438 kB / 387.4 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.2479, allocations: 36 kB / 387.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.2479, allocations: 15.5 kB / 387.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.069e-05/0.248, allocations: 146.8 kB / 387.6 MB, free: 7.691 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.248, allocations: 1.438 kB / 387.6 MB, free: 7.691 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003871/0.2484, allocations: 71.56 kB / 387.7 MB, free: 7.68 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.0007075/0.2491, allocations: 1.263 MB / 388.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003807/0.2495, allocations: 280.6 kB / 389.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2495, allocations: 0.9062 kB / 389.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.2497, allocations: 144 kB / 389.4 MB, free: 6.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006397/0.2503, allocations: 72.58 kB / 389.4 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.2532, allocations: 3.27 MB / 392.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.2534, allocations: 0.7684 MB / 393.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.2535, allocations: 34.77 kB / 393.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.2536, allocations: 91.25 kB / 393.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2537, allocations: 0 / 393.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.2761, allocations: 6.031 MB / 399.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.671, allocations: 5.359 kB / 399.6 MB, free: 2.203 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