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.002094/0.002094, allocations: 335.5 kB / 19.17 MB, free: 0.9609 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 0.0004134/0.0004134, allocations: 12.39 kB / 30.44 MB, free: 8.406 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.168e-05/0.0004751, allocations: 104.6 kB / 30.54 MB, free: 8.395 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0008288/0.001304, allocations: 375.2 kB / 30.91 MB, free: 8.324 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0004137/0.001718, allocations: 340.7 kB / 31.24 MB, free: 8.18 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.001736, allocations: 0 / 31.24 MB, free: 8.18 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.001751, allocations: 0 / 31.24 MB, free: 8.18 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 2.101e-05/0.001772, allocations: 2.406 kB / 31.25 MB, free: 8.18 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.0003087/0.00208, allocations: 113.9 kB / 31.36 MB, free: 8.137 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 3.301e-05/0.002113, allocations: 4 kB / 31.36 MB, free: 8.133 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.002154, allocations: 1.969 kB / 31.36 MB, free: 8.133 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 1.393e-05/0.002168, allocations: 0 / 31.36 MB, free: 8.133 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 1.569e-05/0.002183, allocations: 0 / 31.36 MB, free: 8.133 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 4.428e-06/0.002188, allocations: 0 / 31.36 MB, free: 8.133 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.002341, allocations: 142.2 kB / 31.5 MB, free: 8.074 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-06/0.002349, allocations: 4 kB / 31.51 MB, free: 8.07 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.002364, allocations: 0 / 31.51 MB, free: 8.07 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.002498, allocations: 123.3 kB / 31.63 MB, free: 7.969 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.0025, allocations: 0 / 31.63 MB, free: 7.969 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.052e-06/0.002501, allocations: 0 / 31.63 MB, free: 7.969 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.002506, allocations: 4 kB / 31.63 MB, free: 7.965 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.0002068/0.002713, allocations: 307.3 kB / 31.93 MB, free: 7.625 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.002752, allocations: 8.391 kB / 31.94 MB, free: 7.617 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.85e-05/0.00277, allocations: 30.75 kB / 31.97 MB, free: 7.578 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.002793, allocations: 3.672 kB / 31.97 MB, free: 7.578 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.338e-05/0.002836, allocations: 102.5 kB / 32.07 MB, free: 7.453 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.002845, allocations: 4.375 kB / 32.08 MB, free: 7.449 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.002852, allocations: 384 / 32.08 MB, free: 7.449 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.589e-05/0.002928, allocations: 34.14 kB / 32.11 MB, free: 7.41 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.002936, allocations: 3.938 kB / 32.11 MB, free: 7.406 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.002943, allocations: 8 kB / 32.12 MB, free: 7.398 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.002947, allocations: 0 / 32.12 MB, free: 7.398 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.564e-05/0.002963, allocations: 0 / 32.12 MB, free: 7.398 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.003161, allocations: 358 kB / 32.47 MB, free: 7.012 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 3.36e-05/0.003195, allocations: 173 kB / 32.64 MB, free: 6.832 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.107e-05/0.003206, allocations: 88.17 kB / 32.73 MB, free: 6.742 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.003215, allocations: 75.28 kB / 32.8 MB, free: 6.668 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.00323, allocations: 105.8 kB / 32.9 MB, free: 6.555 MB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.00323, allocations: 0 / 32.9 MB, free: 6.555 MB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 4.546e-05/0.003276, allocations: 25.88 kB / 32.93 MB, free: 6.523 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.003293, allocations: 130.7 kB / 33.06 MB, free: 6.383 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.094e-05/0.003334, allocations: 101.5 kB / 33.16 MB, free: 6.277 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-06/0.003339, allocations: 25.7 kB / 33.18 MB, free: 6.246 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 2.022e-05/0.00336, allocations: 86.03 kB / 33.26 MB, free: 6.16 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.003362, allocations: 0 / 33.26 MB, free: 6.16 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.00338, allocations: 9.891 kB / 33.27 MB, free: 6.145 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 2.498e-05/0.003405, allocations: 321.8 kB / 33.59 MB, free: 5.824 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-06/0.003411, allocations: 0 / 33.59 MB, free: 5.824 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.003428, allocations: 35.42 kB / 33.62 MB, free: 5.777 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.538e-05/0.003444, allocations: 9.078 kB / 33.63 MB, free: 5.766 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.003445, allocations: 7.938 kB / 33.64 MB, free: 5.758 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.505e-05/0.00351, allocations: 37.7 kB / 33.68 MB, free: 5.719 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.003521, allocations: 8 kB / 33.68 MB, free: 5.711 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.003526, allocations: 0 / 33.68 MB, free: 5.711 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.003536, allocations: 0 / 33.68 MB, free: 5.711 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.964e-05/0.003575, allocations: 0 / 33.68 MB, free: 5.711 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.00358, allocations: 3.938 kB / 33.69 MB, free: 5.707 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-06/0.003588, allocations: 4 kB / 33.69 MB, free: 5.703 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.003591, allocations: 0 / 33.69 MB, free: 5.703 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 2.803e-05/0.003619, allocations: 185.7 kB / 33.87 MB, free: 5.512 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.003635, allocations: 117 kB / 33.99 MB, free: 5.391 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.12e-05/0.003646, allocations: 107 kB / 34.09 MB, free: 5.281 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.003656, allocations: 180.2 kB / 34.27 MB, free: 5.098 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.003669, allocations: 183.4 kB / 34.45 MB, free: 4.914 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.003679, allocations: 184.1 kB / 34.63 MB, free: 4.727 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.045e-05/0.00374, allocations: 375.5 kB / 34.99 MB, free: 4.312 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.003746, allocations: 105 kB / 35.1 MB, free: 4.203 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-06/0.003752, allocations: 104.9 kB / 35.2 MB, free: 4.094 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.003761, allocations: 176.3 kB / 35.37 MB, free: 3.914 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.003773, allocations: 188.2 kB / 35.55 MB, free: 3.723 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.003782, allocations: 184.2 kB / 35.73 MB, free: 3.539 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/0.003791, allocations: 183.7 kB / 35.91 MB, free: 3.355 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.393e-05/0.003825, allocations: 307.8 kB / 36.21 MB, free: 3.031 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.003837, allocations: 112.3 kB / 36.32 MB, free: 2.918 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.003852, allocations: 176.3 kB / 36.5 MB, free: 2.738 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.989e-05/0.003882, allocations: 114.4 kB / 36.61 MB, free: 2.621 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.003898, allocations: 176.3 kB / 36.78 MB, free: 2.441 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.003904, allocations: 101 kB / 36.88 MB, free: 2.336 MB / 18.57 MB Notification: Performance of sorting global known variables: time 1.082e-05/0.003915, allocations: 83.27 kB / 36.96 MB, free: 2.254 MB / 18.57 MB Notification: Performance of sort global known variables: time 6e-08/0.003915, allocations: 0 / 36.96 MB, free: 2.254 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0001859/0.004101, allocations: 53.95 kB / 37.01 MB, free: 2.211 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.0008253/0.004926, allocations: 1.232 MB / 38.24 MB, free: 0.957 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 5.944e-05/0.004986, allocations: 3.438 kB / 38.25 MB, free: 0.957 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.004987, allocations: 4 kB / 38.25 MB, free: 0.9531 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.004988, allocations: 0 / 38.25 MB, free: 0.9531 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.005141, allocations: 455.6 kB / 38.7 MB, free: 0.5039 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.005341, allocations: 217 kB / 38.91 MB, free: 252 kB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.307e-05/0.005364, allocations: 51.66 kB / 38.96 MB, free: 180 kB / 18.57 MB Notification: Performance of simCode: alias equations: time 1.345e-05/0.005378, allocations: 4.062 kB / 38.96 MB, free: 176 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-06/0.005387, allocations: 11.44 kB / 38.97 MB, free: 164 kB / 18.57 MB Notification: Performance of SimCode: time 3.61e-07/0.005387, allocations: 0 / 38.97 MB, free: 164 kB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.074/0.07939, allocations: 3.147 MB / 42.12 MB, free: 4.738 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.187, allocations: 4.562 kB / 42.13 MB, free: 4.734 MB / 18.57 MB " [Timeout remaining time 653] (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.334047985263169]