Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008543/0.0008543, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8783/0.8783, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.597e-05, allocations: 2.844 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003582/0.003598, allocations: 4.133 MB / 328.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.005409, allocations: 1.36 MB / 330 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.005732, allocations: 35.69 kB / 330 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.00602, allocations: 174.2 kB / 330.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.006283, allocations: 182.2 kB / 330.4 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.006907, allocations: 383.3 kB / 330.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006728/0.007579, allocations: 0.9935 MB / 331.7 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.007895, allocations: 267.4 kB / 332 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000462/0.008357, allocations: 0.4988 MB / 332.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.008554, allocations: 235.1 kB / 332.7 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.008615, allocations: 76 kB / 332.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.008772, allocations: 119.9 kB / 332.9 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.00885, allocations: 175.3 kB / 333.1 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.008997, allocations: 263.2 kB / 333.4 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007122/0.009709, allocations: 1.101 MB / 334.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.009712, allocations: 0 / 334.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009713, allocations: 0 / 334.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.009728, allocations: 0 / 334.5 MB, free: 5.875 MB / 298.7 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.001061/0.01079, allocations: 1.085 MB / 335.5 MB, free: 4.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.01083, allocations: 11.98 kB / 335.6 MB, free: 4.746 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.835e-05/0.01093, allocations: 122.9 kB / 335.7 MB, free: 4.617 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.0111, allocations: 127.2 kB / 335.8 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/0.01172, allocations: 0.5435 MB / 336.3 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.01175, allocations: 61.94 kB / 336.4 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.01183, allocations: 87.94 kB / 336.5 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008014/0.01263, allocations: 0.8481 MB / 337.3 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.01266, allocations: 15.94 kB / 337.4 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.0127, allocations: 35.94 kB / 337.4 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.01271, allocations: 20 kB / 337.4 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.01327, allocations: 471.3 kB / 337.9 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.01575, allocations: 4.163 MB / 342 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.01614, allocations: 294.9 kB / 342.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.01629, allocations: 133.5 kB / 342.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.01639, allocations: 16.38 kB / 342.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.01641, allocations: 34.94 kB / 342.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 1.633e-06/0.01641, allocations: 0 / 342.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.002067/0.01848, allocations: 1.606 MB / 344.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.01851, allocations: 55.91 kB / 344.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.01892, allocations: 0.5547 MB / 344.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.01895, allocations: 29.7 kB / 344.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.01918, allocations: 495.7 kB / 345.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.01929, allocations: 214.1 kB / 345.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.01941, allocations: 142.6 kB / 345.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01953, allocations: 386.7 kB / 346 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.01971, allocations: 161.9 kB / 346.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.02004, allocations: 455.2 kB / 346.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.02062, allocations: 0.6683 MB / 347.2 MB, free: 8.348 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.02062, allocations: 4 kB / 347.2 MB, free: 8.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0007356/0.02136, allocations: 0.7437 MB / 348 MB, free: 7.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.02138, allocations: 11.94 kB / 348 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.02139, allocations: 8 kB / 348 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.02152, allocations: 48.84 kB / 348 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.02184, allocations: 180.3 kB / 348.2 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009334/0.02278, allocations: 1.582 MB / 349.8 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.02294, allocations: 28 kB / 349.8 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.02297, allocations: 36 kB / 349.9 MB, free: 5.59 MB / 314.7 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.0002005/0.02317, allocations: 233.5 kB / 350.1 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.02323, allocations: 75.47 kB / 350.2 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.923e-05/0.0233, allocations: 79.08 kB / 350.2 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.0233, allocations: 7.938 kB / 350.2 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.02331, allocations: 8.047 kB / 350.3 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.02331, allocations: 4 kB / 350.3 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.0245, allocations: 1.269 MB / 351.5 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.02451, allocations: 8.031 kB / 351.5 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.02476, allocations: 115.9 kB / 351.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.313e-05/0.02482, allocations: 20.86 kB / 351.7 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.02484, allocations: 19.98 kB / 351.7 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005403/0.02538, allocations: 1.26 MB / 352.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.02538, allocations: 11.88 kB / 353 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006478/0.02603, allocations: 0.777 MB / 353.7 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.02608, allocations: 59.53 kB / 353.8 MB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.02611, allocations: 19.92 kB / 353.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.02621, allocations: 16.19 kB / 353.8 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.02626, allocations: 39.97 kB / 353.9 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.02628, allocations: 23.92 kB / 353.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002463/0.02653, allocations: 363.1 kB / 354.2 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02653, allocations: 4 kB / 354.2 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003757/0.0269, allocations: 136 kB / 354.4 MB, free: 0.793 MB / 314.7 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.0008571/0.02776, allocations: 1.332 MB / 355.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006055/0.02837, allocations: 0.5608 MB / 356.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.02837, allocations: 4.562 kB / 356.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.02861, allocations: 306.5 kB / 356.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.02899, allocations: 94.58 kB / 356.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004735/0.03372, allocations: 5.858 MB / 362.5 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.03395, allocations: 378.3 kB / 362.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.03412, allocations: 90 kB / 363 MB, free: 7.656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.03437, allocations: 324.4 kB / 363.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03437, allocations: 0 / 363.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.05813, allocations: 12.7 MB / 376 MB, free: 10.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/7.641, allocations: 7.859 kB / 376 MB, free: 10.84 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass2b.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.s in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.s in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.349785384722054]