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.001279/0.001279, allocations: 112.4 kB / 18.5 MB, free: 4.582 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.001394/0.001394, allocations: 204.9 kB / 21.46 MB, free: 1.629 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.454/1.454, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001793/0.001793, allocations: 64.09 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09876, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005897/0.1047, allocations: 4.61 MB / 431.3 MB, free: 372 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1871/0.2917, allocations: 1.391 MB / 432.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004337/0.2922, allocations: 23.03 kB / 432.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.2925, allocations: 182.5 kB / 432.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.2929, allocations: 170 kB / 433 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.2937, allocations: 376.5 kB / 433.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008563/0.2945, allocations: 0.9828 MB / 434.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.2949, allocations: 281.4 kB / 434.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.2952, allocations: 334.5 kB / 435 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.2955, allocations: 346.8 kB / 435.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.073e-05/0.2956, allocations: 73.03 kB / 435.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.2958, allocations: 121.2 kB / 435.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.016e-05/0.2959, allocations: 173.2 kB / 435.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.2961, allocations: 436.3 kB / 436.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.2972, allocations: 1.114 MB / 437.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2972, allocations: 0.6094 kB / 437.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2972, allocations: 0 / 437.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.2972, allocations: 1.094 kB / 437.2 MB, free: 6.266 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.001493/0.2987, allocations: 1.175 MB / 438.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2987, allocations: 9.781 kB / 438.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.2988, allocations: 124.8 kB / 438.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.2991, allocations: 118.3 kB / 438.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.3, allocations: 0.6324 MB / 439.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.3, allocations: 59.22 kB / 439.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3001, allocations: 90.44 kB / 439.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.3012, allocations: 0.842 MB / 440.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.3013, allocations: 10.83 kB / 440.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.3013, allocations: 38.34 kB / 440.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.3013, allocations: 20.62 kB / 440.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008498/0.3022, allocations: 478 kB / 440.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.305, allocations: 4.386 MB / 445.2 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.3055, allocations: 281.3 kB / 445.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.3057, allocations: 129.6 kB / 445.6 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.3059, allocations: 168 kB / 445.7 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.3059, allocations: 37.91 kB / 445.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.174e-06/0.3059, allocations: 0 / 445.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003457/0.3094, allocations: 1.745 MB / 447.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.3094, allocations: 62.48 kB / 447.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.31, allocations: 0.5452 MB / 448.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.3101, allocations: 35.98 kB / 448.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.3104, allocations: 490.2 kB / 448.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.3106, allocations: 223.6 kB / 448.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.3108, allocations: 141.2 kB / 449 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.311, allocations: 381.6 kB / 449.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.3113, allocations: 159.4 kB / 449.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.3118, allocations: 457.6 kB / 450 MB, free: 13.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008525/0.3126, allocations: 0.6685 MB / 450.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3126, allocations: 2.781 kB / 450.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00118/0.3138, allocations: 0.7433 MB / 451.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3138, allocations: 9.781 kB / 451.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3139, allocations: 9.125 kB / 451.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/0.314, allocations: 49.89 kB / 451.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.3145, allocations: 178.8 kB / 451.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.316, allocations: 1.69 MB / 453.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.3164, allocations: 24.91 kB / 453.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.3164, allocations: 35.22 kB / 453.4 MB, free: 10.5 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.0003291/0.3167, allocations: 237.6 kB / 453.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3168, allocations: 77.59 kB / 453.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.317, allocations: 76.75 kB / 453.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.317, allocations: 9.531 kB / 453.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.317, allocations: 2.469 kB / 453.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.317, allocations: 3.656 kB / 453.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.3192, allocations: 1.41 MB / 455.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3192, allocations: 7.281 kB / 455.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.3196, allocations: 116.1 kB / 455.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.283e-05/0.3197, allocations: 20.83 kB / 455.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.3198, allocations: 15.41 kB / 455.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.3208, allocations: 1.381 MB / 456.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3208, allocations: 3.688 kB / 456.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.322, allocations: 0.7918 MB / 457.5 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.3221, allocations: 140.8 kB / 457.7 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.3222, allocations: 15.8 kB / 457.7 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.3224, allocations: 11.81 kB / 457.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.3225, allocations: 46.17 kB / 457.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.3225, allocations: 22.25 kB / 457.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000419/0.3229, allocations: 361.1 kB / 458.1 MB, free: 7.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 0 / 458.1 MB, free: 7.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006509/0.3236, allocations: 141.8 kB / 458.3 MB, free: 7.059 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.001368/0.3249, allocations: 1.337 MB / 459.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.326, allocations: 0.5672 MB / 460.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.326, allocations: 2.031 kB / 460.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.3264, allocations: 299.7 kB / 460.4 MB, free: 5.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.327, allocations: 98.8 kB / 460.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008327/0.3354, allocations: 6.078 MB / 466.6 MB, free: 1.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.336, allocations: 0.9674 MB / 467.6 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002835/0.3363, allocations: 82.19 kB / 467.7 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.3367, allocations: 326.8 kB / 468 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3367, allocations: 4 kB / 468 MB, free: 0.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05041/0.3871, allocations: 11.97 MB / 480 MB, free: 9.164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.3, allocations: 7.922 kB / 480 MB, free: 9.156 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.779078630264848]