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.005832/0.005832, allocations: 112 kB / 21.97 MB, free: 5.25 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.001675/0.001675, allocations: 202.5 kB / 25.27 MB, free: 3.238 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.273/1.273, allocations: 207.6 MB / 236.1 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",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.001588/0.001588, allocations: 56.25 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2258, allocations: 49.16 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002836/0.2286, allocations: 2.413 MB / 399.5 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.229, allocations: 237.1 kB / 399.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.2291, allocations: 12.59 kB / 399.8 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.2293, allocations: 44.69 kB / 399.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.2294, allocations: 84.41 kB / 399.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.2295, allocations: 56.47 kB / 400 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.2298, allocations: 293.3 kB / 400.3 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.2299, allocations: 75.17 kB / 400.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.2301, allocations: 118.1 kB / 400.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2302, allocations: 122.2 kB / 400.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.2302, allocations: 22.72 kB / 400.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.006e-05/0.2303, allocations: 22.25 kB / 400.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.2303, allocations: 47.28 kB / 400.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2304, allocations: 133.3 kB / 400.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.2307, allocations: 292.6 kB / 401.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2307, allocations: 0 / 401.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2307, allocations: 2.25 kB / 401.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2307, allocations: 0 / 401.1 MB, free: 6.453 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.0006102/0.2313, allocations: 485.7 kB / 401.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2314, allocations: 13.52 kB / 401.6 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.548e-05/0.2314, allocations: 7.656 kB / 401.6 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.2314, allocations: 55.62 kB / 401.6 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.2315, allocations: 36.19 kB / 401.7 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.2317, allocations: 194.8 kB / 401.8 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2317, allocations: 18.19 kB / 401.9 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.2318, allocations: 25.48 kB / 401.9 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.2321, allocations: 246.9 kB / 402.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2321, allocations: 5.328 kB / 402.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.2321, allocations: 11.47 kB / 402.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2322, allocations: 6.188 kB / 402.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.2324, allocations: 161.8 kB / 402.3 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/0.2332, allocations: 0.7505 MB / 403.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.2336, allocations: 286.2 kB / 403.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.2338, allocations: 121.9 kB / 403.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.2338, allocations: 4.125 kB / 403.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.2339, allocations: 37.89 kB / 403.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.373e-06/0.2339, allocations: 0 / 403.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.001995/0.2359, allocations: 1.52 MB / 405 MB, free: 3.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.2359, allocations: 112.2 kB / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.236, allocations: 190.1 kB / 405.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.236, allocations: 34.86 kB / 405.3 MB, free: 3.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.2361, allocations: 143.3 kB / 405.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.2362, allocations: 168.8 kB / 405.7 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.2362, allocations: 79.78 kB / 405.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.2363, allocations: 337.6 kB / 406.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.2364, allocations: 86.72 kB / 406.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.2366, allocations: 155.5 kB / 406.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.2369, allocations: 272.1 kB / 406.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2369, allocations: 5.375 kB / 406.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003992/0.2373, allocations: 349.1 kB / 406.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2373, allocations: 10.81 kB / 406.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2373, allocations: 1.031 kB / 406.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2373, allocations: 4.031 kB / 406.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.2376, allocations: 92.33 kB / 407 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2377, allocations: 8.906 kB / 407 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.963e-05/0.2378, allocations: 10.75 kB / 407 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.2378, allocations: 15 kB / 407 MB, free: 2.227 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.205e-05/0.2379, allocations: 144.6 kB / 407.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/0.2379, allocations: 29.55 kB / 407.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/0.238, allocations: 48.97 kB / 407.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.238, allocations: 9.531 kB / 407.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.238, allocations: 1.375 kB / 407.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.238, allocations: 4.188 kB / 407.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2391, allocations: 1.018 MB / 408.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2391, allocations: 7.484 kB / 408.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.2394, allocations: 92.89 kB / 408.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2394, allocations: 4.562 kB / 408.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.2394, allocations: 17.36 kB / 408.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.2394, allocations: 10.28 kB / 408.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2394, allocations: 2.641 kB / 408.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.24, allocations: 0.7218 MB / 409.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.24, allocations: 26.77 kB / 409.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.2401, allocations: 14.12 kB / 409.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.2403, allocations: 12.92 kB / 409.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.2403, allocations: 37.38 kB / 409.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.2403, allocations: 15.7 kB / 409.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.733e-05/0.2404, allocations: 139.5 kB / 409.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2404, allocations: 0 / 409.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.2408, allocations: 72.5 kB / 409.5 MB, free: 0.5938 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.0008906/0.2417, allocations: 1.263 MB / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.2421, allocations: 255.4 kB / 411 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2421, allocations: 192 / 411 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.2423, allocations: 134.9 kB / 411.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.2429, allocations: 79.42 kB / 411.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.2468, allocations: 3.288 MB / 414.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.2472, allocations: 0.7718 MB / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.2473, allocations: 34.48 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.2474, allocations: 91.62 kB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2474, allocations: 0 / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.277, allocations: 6.357 MB / 421.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.91, allocations: 3.688 kB / 421.7 MB, free: 9.223 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.099263398034964]