Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001807/0.001807, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.002316/0.002316, allocations: 210.2 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 47.92 kB / 377.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2373, allocations: 53.38 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.00587/0.2432, allocations: 4.101 MB / 435.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.2458, allocations: 1.372 MB / 436.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.2461, allocations: 35.69 kB / 436.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.2465, allocations: 186.1 kB / 436.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.2468, allocations: 162.3 kB / 436.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.2475, allocations: 379.4 kB / 437.3 MB, free: 404 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009803/0.2485, allocations: 0.9744 MB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.249, allocations: 283.5 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/0.2494, allocations: 350.5 kB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.2498, allocations: 349.9 kB / 439.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.2499, allocations: 72 kB / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.2501, allocations: 123.9 kB / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.2502, allocations: 171.3 kB / 439.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.2505, allocations: 334.1 kB / 439.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.2517, allocations: 1.12 MB / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2517, allocations: 0 / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2517, allocations: 0 / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.2517, allocations: 4 kB / 441 MB, free: 12.62 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00156/0.2532, allocations: 1.093 MB / 442.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2533, allocations: 12.03 kB / 442.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.2534, allocations: 122.9 kB / 442.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002491/0.2537, allocations: 119.3 kB / 442.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.2547, allocations: 0.5589 MB / 442.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-05/0.2547, allocations: 58 kB / 443 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.2548, allocations: 87.94 kB / 443.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.2562, allocations: 0.8481 MB / 443.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/0.2562, allocations: 7.938 kB / 443.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.2563, allocations: 40 kB / 444 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.2563, allocations: 20 kB / 444 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008948/0.2572, allocations: 471.3 kB / 444.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.2611, allocations: 4.178 MB / 448.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.2616, allocations: 281.3 kB / 448.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.2619, allocations: 133.5 kB / 449 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.262, allocations: 12.38 kB / 449.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.262, allocations: 38.94 kB / 449.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.733e-06/0.262, allocations: 0 / 449.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003155/0.2652, allocations: 1.599 MB / 450.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.2652, allocations: 63.84 kB / 450.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/0.2658, allocations: 0.547 MB / 451.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.2658, allocations: 37.64 kB / 451.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.2662, allocations: 499.6 kB / 451.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.2664, allocations: 222.1 kB / 452 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.2665, allocations: 138.6 kB / 452.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.2667, allocations: 382.8 kB / 452.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.267, allocations: 165.9 kB / 452.7 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.2675, allocations: 451.2 kB / 453.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/0.2684, allocations: 0.6673 MB / 453.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.2684, allocations: 4 kB / 453.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001142/0.2696, allocations: 0.7462 MB / 454.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2696, allocations: 8 kB / 454.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.2696, allocations: 12 kB / 454.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.2697, allocations: 44.84 kB / 454.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.2703, allocations: 187.7 kB / 454.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.2717, allocations: 1.578 MB / 456.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.272, allocations: 24.19 kB / 456.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.272, allocations: 36 kB / 456.5 MB, free: 12.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002864/0.2723, allocations: 225.6 kB / 456.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.2724, allocations: 83.47 kB / 456.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.2726, allocations: 79.06 kB / 456.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.2726, allocations: 8 kB / 456.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2726, allocations: 4.062 kB / 456.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2726, allocations: 0 / 456.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.2745, allocations: 1.277 MB / 458.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2745, allocations: 352 / 458.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.275, allocations: 123.8 kB / 458.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.598e-05/0.275, allocations: 24.8 kB / 458.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.2751, allocations: 19.98 kB / 458.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009679/0.2761, allocations: 1.26 MB / 459.5 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2761, allocations: 0 / 459.5 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.2772, allocations: 0.7882 MB / 460.3 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.601e-05/0.2773, allocations: 67.47 kB / 460.4 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.2773, allocations: 19.98 kB / 460.4 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.2776, allocations: 12 kB / 460.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.2776, allocations: 47.89 kB / 460.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.2777, allocations: 16 kB / 460.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003978/0.2781, allocations: 363.1 kB / 460.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2781, allocations: 0 / 460.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006587/0.2787, allocations: 144 kB / 461 MB, free: 7.516 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001662/0.2804, allocations: 1.332 MB / 462.3 MB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.2816, allocations: 0.5802 MB / 462.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2816, allocations: 0 / 462.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.282, allocations: 299.2 kB / 463.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.2826, allocations: 100 kB / 463.3 MB, free: 5.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008307/0.2909, allocations: 6.08 MB / 469.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.2913, allocations: 378.2 kB / 469.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.2916, allocations: 78.03 kB / 469.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.292, allocations: 327.3 kB / 470.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.292, allocations: 4 kB / 470.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0467/0.3387, allocations: 12.82 MB / 483 MB, free: 1.254 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.27, allocations: 6.984 kB / 483 MB, free: 1.25 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mass2b.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass2b.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.s in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.s from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.s in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.s from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.860684276005486]