Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 192.8 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 43.92 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2353, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003803/0.2391, allocations: 2.439 MB / 425.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000579/0.2397, allocations: 247.1 kB / 426.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.2398, allocations: 7.938 kB / 426.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.24, allocations: 43.58 kB / 426.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.2401, allocations: 83.27 kB / 426.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.2403, allocations: 55.81 kB / 426.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.2406, allocations: 290.7 kB / 426.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.2408, allocations: 77.98 kB / 426.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.2409, allocations: 115.6 kB / 426.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.2411, allocations: 115.5 kB / 426.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.2412, allocations: 20 kB / 426.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.042e-05/0.2412, allocations: 24 kB / 426.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.2413, allocations: 55.78 kB / 427 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.2414, allocations: 135.4 kB / 427.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.2417, allocations: 291.6 kB / 427.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2417, allocations: 0 / 427.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2417, allocations: 4 kB / 427.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.2417, allocations: 4 kB / 427.4 MB, free: 10.6 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.000773/0.2425, allocations: 481.4 kB / 427.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2425, allocations: 8.031 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.97e-05/0.2426, allocations: 4.688 kB / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.2426, allocations: 66.72 kB / 427.9 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.2427, allocations: 32.75 kB / 428 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.243, allocations: 186.8 kB / 428.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.243, allocations: 20.81 kB / 428.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.2431, allocations: 28.33 kB / 428.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.2435, allocations: 243 kB / 428.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.2435, allocations: 4 kB / 428.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.2435, allocations: 12 kB / 428.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2435, allocations: 8 kB / 428.4 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.2438, allocations: 155.8 kB / 428.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.2449, allocations: 0.7612 MB / 429.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.2453, allocations: 275.7 kB / 429.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.2456, allocations: 126.7 kB / 429.8 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.2456, allocations: 7.938 kB / 429.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.2456, allocations: 38.56 kB / 429.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.322e-06/0.2456, allocations: 0 / 429.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002534/0.2482, allocations: 1.511 MB / 431.3 MB, free: 6.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.2482, allocations: 106.8 kB / 431.4 MB, free: 6.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.2484, allocations: 188.9 kB / 431.6 MB, free: 6.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.2484, allocations: 38.08 kB / 431.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.2485, allocations: 140.8 kB / 431.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.2487, allocations: 174.5 kB / 431.9 MB, free: 5.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.2488, allocations: 70.14 kB / 432 MB, free: 5.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2489, allocations: 342.7 kB / 432.3 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.2491, allocations: 84.84 kB / 432.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.2493, allocations: 166.3 kB / 432.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.2497, allocations: 269.1 kB / 432.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2497, allocations: 0 / 432.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005325/0.2502, allocations: 353 kB / 433.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2502, allocations: 8 kB / 433.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2502, allocations: 0 / 433.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2502, allocations: 4 kB / 433.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.2506, allocations: 99.83 kB / 433.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2506, allocations: 0 / 433.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.2507, allocations: 12 kB / 433.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.2507, allocations: 12 kB / 433.3 MB, free: 4.203 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.0001557/0.2509, allocations: 149.7 kB / 433.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.251, allocations: 39.81 kB / 433.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.207e-05/0.251, allocations: 37.8 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2511, allocations: 4 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2511, allocations: 4 kB / 433.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2511, allocations: 3.984 kB / 433.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.2525, allocations: 1.022 MB / 434.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.2525, allocations: 7.938 kB / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.2529, allocations: 88.17 kB / 434.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.2529, allocations: 8 kB / 434.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.2529, allocations: 16 kB / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.253, allocations: 7.938 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.253, allocations: 4 kB / 434.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008537/0.2538, allocations: 0.7211 MB / 435.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.2539, allocations: 27.81 kB / 435.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.2539, allocations: 16.06 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.2541, allocations: 8 kB / 435.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.2542, allocations: 39.81 kB / 435.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.2542, allocations: 16 kB / 435.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.2543, allocations: 139.3 kB / 435.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2543, allocations: 0 / 435.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000429/0.2548, allocations: 72.09 kB / 435.8 MB, free: 1.648 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.001113/0.2559, allocations: 1.267 MB / 437 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004666/0.2563, allocations: 264 kB / 437.3 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2563, allocations: 4 kB / 437.3 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.2566, allocations: 131.8 kB / 437.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.2573, allocations: 74.48 kB / 437.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.2614, allocations: 3.291 MB / 440.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.2619, allocations: 0.7684 MB / 441.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.262, allocations: 34.97 kB / 441.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.2622, allocations: 91.41 kB / 441.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2622, allocations: 0 / 441.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.2932, allocations: 6.363 MB / 448 MB, free: 5.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.93, allocations: 6.812 kB / 448 MB, free: 5.289 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.247402141976636]