Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MessagePack_MessagePack.Examples.TestCreateAndReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/package.mo): time 0.01589/0.01589, allocations: 246.8 kB / 19.33 MB, free: 0.5781 MB / 13.93 MB " [Timeout remaining time 180] Using package MessagePack with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 30.69 MB, free: 3.992 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/2.032e-05, allocations: 2.281 kB / 30.7 MB, free: 3.988 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.000957/0.0009773, allocations: 377.6 kB / 31.06 MB, free: 3.621 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0004869/0.001464, allocations: 340.6 kB / 31.4 MB, free: 3.289 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.001485, allocations: 0 / 31.4 MB, free: 3.289 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 1.298e-05/0.001498, allocations: 0 / 31.4 MB, free: 3.289 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 2.252e-05/0.001521, allocations: 0 / 31.4 MB, free: 3.289 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/Examples.mo:7:3-25:17:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.createFile' contains a call to impure function 'MessagePack.Pack.SimpleBuffer.SimpleBuffer.constructor'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/Examples.mo:27:3-48:15:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.readFile' contains a call to impure function 'MessagePack.Unpack.Deserializer.constructor'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/Examples.mo:50:3-61:24:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.createAndReadFile' contains a call to impure function 'MessagePack.Examples.TestCreateAndReadFile.createFile'. Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.001861, allocations: 111.3 kB / 31.51 MB, free: 3.18 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 3.667e-05/0.001898, allocations: 4.375 kB / 31.51 MB, free: 3.176 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.001937, allocations: 12.05 kB / 31.52 MB, free: 3.164 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 2.247e-05/0.001959, allocations: 0 / 31.52 MB, free: 3.164 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 1.82e-05/0.001978, allocations: 0 / 31.52 MB, free: 3.164 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-06/0.001984, allocations: 3.938 kB / 31.53 MB, free: 3.16 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.002132, allocations: 127.8 kB / 31.65 MB, free: 3.035 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-06/0.002139, allocations: 0 / 31.65 MB, free: 3.035 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.29e-05/0.002152, allocations: 4.109 kB / 31.65 MB, free: 3.031 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.002296, allocations: 135.5 kB / 31.79 MB, free: 2.898 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002298, allocations: 0 / 31.79 MB, free: 2.898 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.343e-06/0.002299, allocations: 0 / 31.79 MB, free: 2.898 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.002303, allocations: 0 / 31.79 MB, free: 2.898 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002077/0.00251, allocations: 312 kB / 32.09 MB, free: 2.555 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.002552, allocations: 8.391 kB / 32.1 MB, free: 2.547 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.019e-05/0.002572, allocations: 30.75 kB / 32.13 MB, free: 2.508 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.002595, allocations: 1.109 kB / 32.13 MB, free: 2.508 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.926e-05/0.002634, allocations: 113.7 kB / 32.24 MB, free: 2.371 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.002643, allocations: 384 / 32.24 MB, free: 2.371 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.00265, allocations: 8.359 kB / 32.25 MB, free: 2.363 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.92e-05/0.00272, allocations: 26.27 kB / 32.28 MB, free: 2.332 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.002726, allocations: 192 / 32.28 MB, free: 2.332 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.002733, allocations: 8.359 kB / 32.28 MB, free: 2.324 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.002739, allocations: 4.125 kB / 32.29 MB, free: 2.32 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.485e-05/0.002753, allocations: 4 kB / 32.29 MB, free: 2.316 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.002937, allocations: 347.1 kB / 32.63 MB, free: 1.934 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 3.794e-05/0.002975, allocations: 169.1 kB / 32.8 MB, free: 1.758 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.002987, allocations: 84.17 kB / 32.88 MB, free: 1.672 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.002995, allocations: 75.28 kB / 32.95 MB, free: 1.598 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.00301, allocations: 113.8 kB / 33.06 MB, free: 1.477 MB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.00301, allocations: 0 / 33.06 MB, free: 1.477 MB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 5.281e-05/0.003063, allocations: 41.81 kB / 33.1 MB, free: 1.43 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.003085, allocations: 126.7 kB / 33.23 MB, free: 1.293 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.007e-05/0.003135, allocations: 94.2 kB / 33.32 MB, free: 1.191 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-06/0.00314, allocations: 25.7 kB / 33.34 MB, free: 1.16 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.003162, allocations: 86.38 kB / 33.43 MB, free: 1.074 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.003165, allocations: 0 / 33.43 MB, free: 1.074 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.003185, allocations: 9.719 kB / 33.44 MB, free: 1.059 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 2.762e-05/0.003213, allocations: 318.8 kB / 33.75 MB, free: 0.7383 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.00322, allocations: 3.984 kB / 33.75 MB, free: 0.7344 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/0.003238, allocations: 35.42 kB / 33.79 MB, free: 0.6875 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.736e-05/0.003255, allocations: 8.859 kB / 33.8 MB, free: 0.6758 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003257, allocations: 0 / 33.8 MB, free: 0.6758 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.525e-05/0.003322, allocations: 45.73 kB / 33.84 MB, free: 0.625 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.003334, allocations: 8 kB / 33.85 MB, free: 0.6172 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.003338, allocations: 0 / 33.85 MB, free: 0.6172 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.003348, allocations: 0 / 33.85 MB, free: 0.6172 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.149e-05/0.003389, allocations: 3.938 kB / 33.85 MB, free: 0.6133 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.003394, allocations: 0 / 33.85 MB, free: 0.6133 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.003405, allocations: 7.953 kB / 33.86 MB, free: 0.6055 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.003409, allocations: 0 / 33.86 MB, free: 0.6055 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.306e-05/0.003502, allocations: 189.7 kB / 34.05 MB, free: 420 kB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.003535, allocations: 108.9 kB / 34.15 MB, free: 304 kB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.003556, allocations: 112.3 kB / 34.26 MB, free: 184 kB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.003576, allocations: 176.3 kB / 34.43 MB, free: 0 / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.005957/0.009533, allocations: 180.6 kB / 34.61 MB, free: 7.672 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.009551, allocations: 182.7 kB / 34.79 MB, free: 7.492 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.477e-05/0.009646, allocations: 371.1 kB / 35.15 MB, free: 7.086 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.009656, allocations: 108.7 kB / 35.26 MB, free: 6.98 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.008e-05/0.009666, allocations: 101 kB / 35.36 MB, free: 6.875 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.991e-05/0.009686, allocations: 182.6 kB / 35.53 MB, free: 6.695 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.009704, allocations: 186.9 kB / 35.72 MB, free: 6.516 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.009718, allocations: 180.8 kB / 35.89 MB, free: 6.336 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-05/0.009732, allocations: 176.3 kB / 36.07 MB, free: 6.156 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.868e-05/0.009791, allocations: 316.3 kB / 36.37 MB, free: 5.848 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.00981, allocations: 107.5 kB / 36.48 MB, free: 5.742 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.009833, allocations: 186.4 kB / 36.66 MB, free: 5.559 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.284e-05/0.009866, allocations: 104 kB / 36.76 MB, free: 5.453 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.009894, allocations: 180.8 kB / 36.94 MB, free: 5.27 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.009904, allocations: 105.3 kB / 37.04 MB, free: 5.164 MB / 18.57 MB Notification: Performance of sorting global known variables: time 3.055e-05/0.009935, allocations: 75.89 kB / 37.12 MB, free: 5.09 MB / 18.57 MB Notification: Performance of sort global known variables: time 6e-08/0.009935, allocations: 0 / 37.12 MB, free: 5.09 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0002281/0.01016, allocations: 46.22 kB / 37.16 MB, free: 5.09 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/0.01122, allocations: 1.238 MB / 38.4 MB, free: 4.043 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.01132, allocations: 4.047 kB / 38.4 MB, free: 4.043 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01132, allocations: 0 / 38.4 MB, free: 4.043 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.01132, allocations: 0 / 38.4 MB, free: 4.043 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.0115, allocations: 456.1 kB / 38.85 MB, free: 3.598 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.01178, allocations: 208 kB / 39.05 MB, free: 3.379 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.777e-05/0.01181, allocations: 56.8 kB / 39.11 MB, free: 3.309 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 1.901e-05/0.01183, allocations: 4.188 kB / 39.11 MB, free: 3.305 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.01184, allocations: 9.906 kB / 39.12 MB, free: 3.293 MB / 18.57 MB Notification: Performance of SimCode: time 4.31e-07/0.01184, allocations: 3.938 kB / 39.13 MB, free: 3.289 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1127/0.1246, allocations: 3.316 MB / 42.44 MB, free: 300 kB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/7.35, allocations: 8.438 kB / 42.45 MB, free: 292 kB / 18.57 MB " [Timeout remaining time 652] (rm -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe ; mkfifo MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe ; head -c 1048576 < MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe >> ../files/MessagePack_MessagePack.Examples.TestCreateAndReadFile.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_MessagePack_MessagePack_Examples_TestCreateAndReadFile_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=me --timeout=240 --tolerance=1e-06 ../MessagePack_MessagePack_Examples_TestCreateAndReadFile.fmu) > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 252.0] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f MessagePack_MessagePack.Examples.TestCreateAndReadFile_OMSimulator-cs-cvode.pipe ; mkfifo MessagePack_MessagePack.Examples.TestCreateAndReadFile_OMSimulator-cs-cvode.pipe ; head -c 1048576 < MessagePack_MessagePack.Examples.TestCreateAndReadFile_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MessagePack_MessagePack.Examples.TestCreateAndReadFile_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_MessagePack_MessagePack_Examples_TestCreateAndReadFile_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=cs --timeout=240 --tolerance=1e-06 ../MessagePack_MessagePack_Examples_TestCreateAndReadFile_OMSimulator-cs-cvode.fmu) > MessagePack_MessagePack.Examples.TestCreateAndReadFile_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-cvode timed out simulating the FMU (rm -f MessagePack_MessagePack.Examples.TestCreateAndReadFile_OMSimulator-cs-euler.pipe ; mkfifo MessagePack_MessagePack.Examples.TestCreateAndReadFile_OMSimulator-cs-euler.pipe ; head -c 1048576 < MessagePack_MessagePack.Examples.TestCreateAndReadFile_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MessagePack_MessagePack.Examples.TestCreateAndReadFile_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_MessagePack_MessagePack_Examples_TestCreateAndReadFile_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=cs --timeout=240 --tolerance=1e-06 ../MessagePack_MessagePack_Examples_TestCreateAndReadFile_OMSimulator-cs-euler.fmu) > MessagePack_MessagePack.Examples.TestCreateAndReadFile_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-euler timed out simulating the FMU (rm -f MessagePack_MessagePack.Examples.TestCreateAndReadFile_fmpy.pipe ; mkfifo MessagePack_MessagePack.Examples.TestCreateAndReadFile_fmpy.pipe ; head -c 1048576 < MessagePack_MessagePack.Examples.TestCreateAndReadFile_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MessagePack_MessagePack.Examples.TestCreateAndReadFile_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../MessagePack_MessagePack.Examples.TestCreateAndReadFile_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../MessagePack_MessagePack_Examples_TestCreateAndReadFile.fmu) > MessagePack_MessagePack.Examples.TestCreateAndReadFile_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 8.588952501304448]