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.001722/0.001722, allocations: 131.4 kB / 17.79 MB, free: 5.242 MB / 14.72 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.002114/0.002114, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 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 1.469/1.469, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001878/0.001878, allocations: 59.91 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.105, allocations: 53.37 MB / 426.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006014/0.111, allocations: 4.612 MB / 431 MB, free: 56 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2084/0.3194, allocations: 1.4 MB / 432.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004982/0.3199, allocations: 32.44 kB / 432.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.3203, allocations: 176.7 kB / 432.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.3206, allocations: 165.8 kB / 432.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008497/0.3215, allocations: 379.5 kB / 433.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009838/0.3225, allocations: 0.9787 MB / 434.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.3229, allocations: 283.6 kB / 434.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.3234, allocations: 346.6 kB / 434.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.3237, allocations: 351.5 kB / 435 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.3238, allocations: 72 kB / 435.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.3241, allocations: 118.4 kB / 435.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.3242, allocations: 174 kB / 435.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003061/0.3245, allocations: 427.6 kB / 435.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.3258, allocations: 1.116 MB / 436.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3258, allocations: 0 / 436.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3258, allocations: 0 / 436.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.3258, allocations: 0 / 436.9 MB, free: 6.059 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.001569/0.3274, allocations: 1.171 MB / 438.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3274, allocations: 10.36 kB / 438.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.3276, allocations: 126.5 kB / 438.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.3278, allocations: 119.8 kB / 438.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/0.3287, allocations: 0.6363 MB / 439 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.3287, allocations: 57.16 kB / 439 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3288, allocations: 91.66 kB / 439.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.3301, allocations: 0.8464 MB / 440 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.3301, allocations: 9.188 kB / 440 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.724e-05/0.3302, allocations: 32.97 kB / 440 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.3302, allocations: 22.09 kB / 440 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008807/0.3311, allocations: 474.8 kB / 440.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.3344, allocations: 4.389 MB / 444.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.3349, allocations: 283.2 kB / 445.2 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.3352, allocations: 132.1 kB / 445.3 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.3355, allocations: 172.8 kB / 445.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3355, allocations: 37.03 kB / 445.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.184e-06/0.3355, allocations: 0.5 kB / 445.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003856/0.3394, allocations: 1.743 MB / 447.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.3394, allocations: 61.22 kB / 447.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008391/0.3403, allocations: 0.5418 MB / 447.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.3403, allocations: 41.14 kB / 447.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.3408, allocations: 486.4 kB / 448.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.341, allocations: 226.2 kB / 448.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.3412, allocations: 138.8 kB / 448.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.3414, allocations: 382.9 kB / 449.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.3417, allocations: 159.7 kB / 449.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005439/0.3423, allocations: 457.8 kB / 449.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008674/0.3432, allocations: 0.6713 MB / 450.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3432, allocations: 3.188 kB / 450.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001212/0.3444, allocations: 0.7405 MB / 451.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3444, allocations: 9.031 kB / 451.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.3444, allocations: 10.38 kB / 451.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.3446, allocations: 51.47 kB / 451.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/0.3452, allocations: 179 kB / 451.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.3468, allocations: 1.689 MB / 453 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.3471, allocations: 29.95 kB / 453.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.3472, allocations: 34.94 kB / 453.1 MB, free: 10.29 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.0003617/0.3475, allocations: 243.9 kB / 453.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.3477, allocations: 77.86 kB / 453.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.3478, allocations: 74.05 kB / 453.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3478, allocations: 9.125 kB / 453.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.3478, allocations: 2 kB / 453.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.3478, allocations: 2.484 kB / 453.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.3501, allocations: 1.41 MB / 454.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.3501, allocations: 4.344 kB / 454.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.3506, allocations: 116 kB / 455 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-05/0.3507, allocations: 24.53 kB / 455.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.3507, allocations: 16.02 kB / 455.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.3518, allocations: 1.38 MB / 456.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.3518, allocations: 7.219 kB / 456.5 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.353, allocations: 0.7839 MB / 457.2 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.3531, allocations: 138 kB / 457.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.3532, allocations: 15.75 kB / 457.4 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.3534, allocations: 13.94 kB / 457.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.3535, allocations: 54.09 kB / 457.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.3535, allocations: 13.25 kB / 457.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004556/0.354, allocations: 364.8 kB / 457.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.354, allocations: 0 / 457.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007409/0.3547, allocations: 138.2 kB / 458 MB, free: 6.84 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.001435/0.3561, allocations: 1.335 MB / 459.3 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.3572, allocations: 0.5705 MB / 459.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3572, allocations: 0 / 459.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004238/0.3576, allocations: 299.8 kB / 460.2 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.3582, allocations: 104.5 kB / 460.3 MB, free: 5.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008363/0.3666, allocations: 6.078 MB / 466.3 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.3672, allocations: 0.9647 MB / 467.3 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003189/0.3675, allocations: 83.92 kB / 467.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.3679, allocations: 332.6 kB / 467.7 MB, free: 280 kB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3679, allocations: 3.938 kB / 467.7 MB, free: 276 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04466/0.4126, allocations: 11.97 MB / 479.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.19, allocations: 3.984 kB / 479.7 MB, free: 8.836 MB / 382.1 MB " [Timeout remaining time 649] (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/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_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: 13.727565103909]