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.001423/0.001423, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001578/0.001578, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001559/0.001559, allocations: 51.91 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2406, allocations: 53.37 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006308/0.2469, allocations: 4.111 MB / 435.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002845/0.2497, allocations: 1.364 MB / 436.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003806/0.2501, allocations: 35.69 kB / 436.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.2505, allocations: 178.2 kB / 436.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.2509, allocations: 174.3 kB / 436.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009222/0.2518, allocations: 375.4 kB / 437.3 MB, free: 436 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.2531, allocations: 0.9706 MB / 438.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004951/0.2536, allocations: 271.2 kB / 438.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.2542, allocations: 346.5 kB / 438.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.2546, allocations: 313.9 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.2547, allocations: 72 kB / 439.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.2549, allocations: 119.9 kB / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.2551, allocations: 171.3 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.2554, allocations: 334.1 kB / 439.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.257, allocations: 1.114 MB / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.257, allocations: 0 / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.257, allocations: 0 / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.257, allocations: 4 kB / 441 MB, free: 12.71 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.001776/0.2588, allocations: 1.103 MB / 442.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2588, allocations: 8.031 kB / 442.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.2589, allocations: 130.9 kB / 442.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.2592, allocations: 115.3 kB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.2602, allocations: 0.5589 MB / 442.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.2603, allocations: 58 kB / 442.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.2604, allocations: 83.95 kB / 443 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.2619, allocations: 0.8481 MB / 443.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.2619, allocations: 8 kB / 443.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.262, allocations: 36 kB / 443.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.262, allocations: 24 kB / 443.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008748/0.2629, allocations: 463.3 kB / 444.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.267, allocations: 4.182 MB / 448.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/0.2676, allocations: 289.3 kB / 448.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.2678, allocations: 133.5 kB / 449 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.268, allocations: 20.34 kB / 449 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.268, allocations: 38.94 kB / 449 MB, free: 4.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.615e-06/0.268, allocations: 4 kB / 449 MB, free: 4.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003536/0.2715, allocations: 1.595 MB / 450.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.2716, allocations: 59.84 kB / 450.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007753/0.2724, allocations: 0.547 MB / 451.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.2724, allocations: 37.7 kB / 451.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/0.2728, allocations: 0.4919 MB / 451.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.273, allocations: 222.1 kB / 452 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.2732, allocations: 134.6 kB / 452.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.2734, allocations: 382.8 kB / 452.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.2737, allocations: 157.9 kB / 452.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.2743, allocations: 467.1 kB / 453.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000923/0.2752, allocations: 0.6634 MB / 453.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.2752, allocations: 4 kB / 453.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00132/0.2765, allocations: 0.7466 MB / 454.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2765, allocations: 8 kB / 454.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.2766, allocations: 8 kB / 454.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.2767, allocations: 52.88 kB / 454.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.2773, allocations: 175.7 kB / 454.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.2788, allocations: 1.574 MB / 456.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.2791, allocations: 28 kB / 456.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.2792, allocations: 36 kB / 456.4 MB, free: 12.4 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.0003314/0.2795, allocations: 237.6 kB / 456.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2796, allocations: 75.47 kB / 456.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.2798, allocations: 79.08 kB / 456.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2798, allocations: 4 kB / 456.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.2798, allocations: 4 kB / 456.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.2798, allocations: 3.984 kB / 456.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.2819, allocations: 1.277 MB / 458.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2819, allocations: 4 kB / 458.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004708/0.2823, allocations: 115.8 kB / 458.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-05/0.2824, allocations: 28.88 kB / 458.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.2825, allocations: 16 kB / 458.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.2836, allocations: 1.26 MB / 459.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.2836, allocations: 7.938 kB / 459.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.2847, allocations: 0.7957 MB / 460.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.2848, allocations: 59.53 kB / 460.4 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.2848, allocations: 12 kB / 460.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.2851, allocations: 16.12 kB / 460.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.2851, allocations: 55.89 kB / 460.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.2852, allocations: 16 kB / 460.4 MB, free: 8.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004853/0.2856, allocations: 367.1 kB / 460.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2856, allocations: 0 / 460.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006241/0.2863, allocations: 136 kB / 460.9 MB, free: 7.59 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.001445/0.2877, allocations: 1.332 MB / 462.3 MB, free: 6.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.2887, allocations: 0.5725 MB / 462.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2887, allocations: 0 / 462.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.2891, allocations: 294.5 kB / 463.1 MB, free: 5.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000613/0.2898, allocations: 101.9 kB / 463.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008158/0.2979, allocations: 6.076 MB / 469.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.2983, allocations: 378.2 kB / 469.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.2986, allocations: 94 kB / 469.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003958/0.299, allocations: 323.3 kB / 470.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.299, allocations: 0 / 470.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.3502, allocations: 12.59 MB / 482.7 MB, free: 1.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.49, allocations: 3.266 kB / 482.7 MB, free: 1.566 MB / 382.1 MB " [Timeout remaining time 647] (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.984955290798098]