Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 117.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 212.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 64.08 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2433, allocations: 50.55 MB / 408.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003225/0.2466, allocations: 2.427 MB / 411.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005389/0.2472, allocations: 247.1 kB / 411.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.2473, allocations: 7.938 kB / 411.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.2475, allocations: 43.58 kB / 411.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.2477, allocations: 83.2 kB / 411.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.2479, allocations: 51.94 kB / 411.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.2482, allocations: 294.6 kB / 411.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.2484, allocations: 97.69 kB / 412 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.2485, allocations: 107.6 kB / 412.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.2486, allocations: 115.5 kB / 412.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.2487, allocations: 24 kB / 412.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.914e-05/0.2487, allocations: 24 kB / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.2488, allocations: 51.78 kB / 412.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.2489, allocations: 143.3 kB / 412.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.2492, allocations: 288.6 kB / 412.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2492, allocations: 0 / 412.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2492, allocations: 3.938 kB / 412.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.2492, allocations: 0 / 412.7 MB, free: 13.66 MB / 334.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.0007485/0.25, allocations: 0.542 MB / 413.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.25, allocations: 12.03 kB / 413.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.442e-05/0.2501, allocations: 62.67 kB / 413.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.2502, allocations: 28.56 kB / 413.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.2505, allocations: 252.5 kB / 413.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2505, allocations: 12.94 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.2506, allocations: 28.38 kB / 413.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.251, allocations: 248 kB / 413.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.251, allocations: 7.844 kB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.251, allocations: 12 kB / 413.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.251, allocations: 4 kB / 413.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.2513, allocations: 155.9 kB / 414.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009488/0.2522, allocations: 0.7931 MB / 414.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.2527, allocations: 295.7 kB / 415.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.2529, allocations: 138.7 kB / 415.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.253, allocations: 0 / 415.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.253, allocations: 42.5 kB / 415.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.272e-06/0.253, allocations: 0 / 415.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002365/0.2554, allocations: 1.949 MB / 417.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.2555, allocations: 110.8 kB / 417.4 MB, free: 8.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.2556, allocations: 187.4 kB / 417.6 MB, free: 8.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.2557, allocations: 33.7 kB / 417.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.2557, allocations: 136.7 kB / 417.7 MB, free: 8.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.2558, allocations: 161.7 kB / 417.9 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/0.2559, allocations: 74.12 kB / 418 MB, free: 7.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2561, allocations: 338.8 kB / 418.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.2562, allocations: 92.83 kB / 418.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.2564, allocations: 154.3 kB / 418.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.2567, allocations: 275.2 kB / 418.8 MB, free: 6.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2567, allocations: 4 kB / 418.8 MB, free: 6.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004291/0.2572, allocations: 344.9 kB / 419.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2572, allocations: 7.938 kB / 419.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.2572, allocations: 4 kB / 419.2 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2572, allocations: 0 / 419.2 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.2575, allocations: 99.83 kB / 419.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.2576, allocations: 4 kB / 419.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2577, allocations: 12 kB / 419.3 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.2577, allocations: 16.09 kB / 419.3 MB, free: 6.508 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.0001247/0.2578, allocations: 157.6 kB / 419.4 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.2579, allocations: 31.66 kB / 419.5 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.258, allocations: 41.86 kB / 419.5 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.258, allocations: 4 kB / 419.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.258, allocations: 0 / 419.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.258, allocations: 0 / 419.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.2592, allocations: 1.051 MB / 420.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2593, allocations: 4 kB / 420.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.2596, allocations: 87.78 kB / 420.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.2596, allocations: 4 kB / 420.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.2597, allocations: 16 kB / 420.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.2597, allocations: 7.984 kB / 420.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2597, allocations: 4.469 kB / 420.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.2603, allocations: 0.7248 MB / 421.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.2604, allocations: 104.7 kB / 421.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.2605, allocations: 20 kB / 421.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.2607, allocations: 12.12 kB / 421.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.2607, allocations: 35.84 kB / 421.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2607, allocations: 12.05 kB / 421.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.091e-05/0.2608, allocations: 144.2 kB / 421.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2608, allocations: 0 / 421.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004178/0.2613, allocations: 72 kB / 421.8 MB, free: 3.832 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.0008956/0.2622, allocations: 1.267 MB / 423.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000397/0.2626, allocations: 273.9 kB / 423.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2626, allocations: 0 / 423.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.2628, allocations: 143.7 kB / 423.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.2634, allocations: 71.53 kB / 423.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.2668, allocations: 3.282 MB / 426.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.2672, allocations: 0.7721 MB / 427.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.2673, allocations: 34.91 kB / 427.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.2674, allocations: 91.41 kB / 427.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of SimCode: time 1.874e-06/0.2674, allocations: 0 / 427.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4789/0.7463, allocations: 6.024 MB / 433.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.647/9.393, allocations: 15.92 kB / 433.8 MB, free: 7.727 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches