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.001518/0.001518, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001836, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2527, allocations: 50.54 MB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003237/0.256, allocations: 2.428 MB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005405/0.2565, allocations: 251 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.2567, allocations: 7.938 kB / 411.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.2569, allocations: 43.58 kB / 411.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.2571, allocations: 79.27 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.2573, allocations: 51.94 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.2576, allocations: 294.6 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.2578, allocations: 97.69 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.2579, allocations: 115.6 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2581, allocations: 115.5 kB / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.2581, allocations: 24 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.732e-05/0.2581, allocations: 20 kB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.2582, allocations: 59.77 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.2583, allocations: 127.4 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.2586, allocations: 300.6 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2586, allocations: 0 / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2586, allocations: 0 / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.2586, allocations: 0 / 412.7 MB, free: 13.54 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.0006884/0.2593, allocations: 0.538 MB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2594, allocations: 12.03 kB / 413.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.2594, allocations: 58.72 kB / 413.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.2595, allocations: 36.5 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.2598, allocations: 248.6 kB / 413.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2598, allocations: 16.94 kB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.2599, allocations: 24.38 kB / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.2602, allocations: 244 kB / 413.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.2603, allocations: 11.84 kB / 413.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.2603, allocations: 12 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2603, allocations: 8 kB / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.2606, allocations: 155.8 kB / 414.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.2615, allocations: 0.797 MB / 414.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.262, allocations: 287.7 kB / 415.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.2622, allocations: 134.5 kB / 415.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.2622, allocations: 11.94 kB / 415.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.2623, allocations: 34.56 kB / 415.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.2623, allocations: 0 / 415.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002405/0.2647, allocations: 1.944 MB / 417.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.2648, allocations: 111.2 kB / 417.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.2649, allocations: 191.3 kB / 417.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.265, allocations: 33.7 kB / 417.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.265, allocations: 136.7 kB / 417.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.2651, allocations: 165.6 kB / 417.9 MB, free: 7.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-05/0.2652, allocations: 70.14 kB / 418 MB, free: 7.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2653, allocations: 338.8 kB / 418.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.2655, allocations: 88.84 kB / 418.4 MB, free: 7.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.2657, allocations: 166.3 kB / 418.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.266, allocations: 271.7 kB / 418.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.266, allocations: 0 / 418.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004605/0.2665, allocations: 348.9 kB / 419.1 MB, free: 6.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2665, allocations: 11.94 kB / 419.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2665, allocations: 0 / 419.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2666, allocations: 7.984 kB / 419.2 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.2669, allocations: 91.91 kB / 419.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.2669, allocations: 4 kB / 419.3 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.267, allocations: 4 kB / 419.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.2671, allocations: 16 kB / 419.3 MB, free: 6.398 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.0001256/0.2672, allocations: 161.7 kB / 419.4 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/0.2673, allocations: 35.64 kB / 419.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.262e-05/0.2674, allocations: 33.88 kB / 419.5 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2674, allocations: 4 kB / 419.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2674, allocations: 8 kB / 419.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2674, allocations: 3.984 kB / 419.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.2686, allocations: 1.05 MB / 420.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2686, allocations: 0 / 420.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.269, allocations: 100.1 kB / 420.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.269, allocations: 4.047 kB / 420.7 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.2691, allocations: 11.98 kB / 420.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.2691, allocations: 8 kB / 420.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2691, allocations: 3.938 kB / 420.7 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/0.2697, allocations: 0.7287 MB / 421.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.2698, allocations: 108.8 kB / 421.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.2699, allocations: 8 kB / 421.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.2701, allocations: 12 kB / 421.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.2701, allocations: 35.89 kB / 421.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.2702, allocations: 16 kB / 421.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.2703, allocations: 140.3 kB / 421.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2703, allocations: 3.938 kB / 421.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000409/0.2707, allocations: 76 kB / 421.8 MB, free: 3.707 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.0009034/0.2716, allocations: 1.259 MB / 423.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.272, allocations: 265.9 kB / 423.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.272, allocations: 4 kB / 423.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.2722, allocations: 143.7 kB / 423.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.2729, allocations: 68.11 kB / 423.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.2763, allocations: 3.294 MB / 426.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.2766, allocations: 0.7721 MB / 427.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.2768, allocations: 30.95 kB / 427.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.2769, allocations: 87.42 kB / 427.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2769, allocations: 192 / 427.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.301, allocations: 6.03 MB / 433.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.057, allocations: 19 kB / 433.8 MB, free: 7.605 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