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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 112.1 kB / 21.18 MB, free: 0.7148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 216.7 kB / 24.49 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 207.6 MB / 235.3 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 47.94 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.272, allocations: 49.16 MB / 396.3 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003387/0.2754, allocations: 2.418 MB / 398.8 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005115/0.2759, allocations: 245.1 kB / 399 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.276, allocations: 8.969 kB / 399 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.2762, allocations: 40.11 kB / 399 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.2763, allocations: 89.09 kB / 399.1 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.2765, allocations: 55.52 kB / 399.2 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.2768, allocations: 293.9 kB / 399.5 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.277, allocations: 75.17 kB / 399.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.2771, allocations: 109.2 kB / 399.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.2773, allocations: 123.2 kB / 399.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.2773, allocations: 21.53 kB / 399.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.401e-05/0.2774, allocations: 22.16 kB / 399.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.2774, allocations: 51.33 kB / 399.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.2775, allocations: 142.3 kB / 400 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.2779, allocations: 290.1 kB / 400.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2779, allocations: 0.9844 kB / 400.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2779, allocations: 0 / 400.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2779, allocations: 0 / 400.3 MB, free: 6.855 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.0007104/0.2786, allocations: 486.5 kB / 400.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2786, allocations: 13.83 kB / 400.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.645e-05/0.2787, allocations: 59.31 kB / 400.8 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.2787, allocations: 36.61 kB / 400.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.279, allocations: 182.6 kB / 401 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.2791, allocations: 18.88 kB / 401.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.2791, allocations: 24.64 kB / 401.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.2795, allocations: 246.9 kB / 401.3 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.2795, allocations: 13.83 kB / 401.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.2795, allocations: 14.77 kB / 401.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2795, allocations: 6.125 kB / 401.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.2798, allocations: 158.5 kB / 401.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009301/0.2807, allocations: 0.7513 MB / 402.3 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.2812, allocations: 278.4 kB / 402.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.2814, allocations: 121 kB / 402.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.2814, allocations: 7.406 kB / 402.7 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.2815, allocations: 37.84 kB / 402.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.2815, allocations: 0 / 402.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002244/0.2837, allocations: 1.508 MB / 404.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2837, allocations: 111.9 kB / 404.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2839, allocations: 199 kB / 404.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.2839, allocations: 30.86 kB / 404.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.284, allocations: 145.9 kB / 404.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.2841, allocations: 164.3 kB / 404.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.2842, allocations: 74.52 kB / 404.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.2842, allocations: 339.7 kB / 405.3 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2844, allocations: 89.77 kB / 405.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.2846, allocations: 155.4 kB / 405.5 MB, free: 3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.2849, allocations: 288.6 kB / 405.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2849, allocations: 4.75 kB / 405.8 MB, free: 2.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004684/0.2854, allocations: 338.9 kB / 406.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2854, allocations: 10.56 kB / 406.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2854, allocations: 1.25 kB / 406.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.2854, allocations: 4.25 kB / 406.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.2857, allocations: 96.02 kB / 406.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.2857, allocations: 3.969 kB / 406.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.2859, allocations: 11.38 kB / 406.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2859, allocations: 15.53 kB / 406.2 MB, free: 2.641 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 0.000105/0.286, allocations: 152.8 kB / 406.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.2861, allocations: 31.05 kB / 406.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.144e-05/0.2861, allocations: 37.75 kB / 406.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2861, allocations: 7.516 kB / 406.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.2862, allocations: 1.688 kB / 406.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2862, allocations: 6.516 kB / 406.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.2874, allocations: 1.016 MB / 407.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2874, allocations: 7.031 kB / 407.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.2877, allocations: 92.78 kB / 407.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.2877, allocations: 4.125 kB / 407.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.2877, allocations: 10.39 kB / 407.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.2877, allocations: 9.438 kB / 407.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.2877, allocations: 3.781 kB / 407.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.2883, allocations: 0.7275 MB / 408.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.2884, allocations: 32.06 kB / 408.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.2884, allocations: 9.859 kB / 408.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2886, allocations: 8.312 kB / 408.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.2887, allocations: 46.61 kB / 408.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.2887, allocations: 10.25 kB / 408.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.485e-05/0.2888, allocations: 138.8 kB / 408.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2888, allocations: 5.125 kB / 408.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004657/0.2893, allocations: 75.16 kB / 408.7 MB, free: 1.004 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.0008249/0.2901, allocations: 1.261 MB / 409.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004981/0.2906, allocations: 258.4 kB / 410.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2906, allocations: 1.438 kB / 410.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.2908, allocations: 138.4 kB / 410.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.2915, allocations: 78.7 kB / 410.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.2959, allocations: 3.286 MB / 413.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.2963, allocations: 0.7729 MB / 414.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.2965, allocations: 34.25 kB / 414.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.2966, allocations: 90.25 kB / 414.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2966, allocations: 0 / 414.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.3382, allocations: 6.338 MB / 420.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.81, allocations: 2.562 kB / 420.9 MB, free: 9.582 MB / 334.1 MB " [Timeout remaining time 648] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.194540039170533]