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.001756/0.001756, allocations: 234.5 kB / 10.14 MB, free: 0.543 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009918/0.002748, allocations: 0.4997 MB / 10.64 MB, free: 44 kB / 10.45 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: translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 11.77 MB, free: 2.402 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.147e-06/1.077e-05, allocations: 2.312 kB / 11.78 MB, free: 2.398 MB / 13.93 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0008002/0.000811, allocations: 441.4 kB / 12.21 MB, free: 1.965 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0003682/0.001179, allocations: 350.3 kB / 12.55 MB, free: 1.621 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.001193, allocations: 0 / 12.55 MB, free: 1.621 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 2.765e-06/0.001196, allocations: 0 / 12.55 MB, free: 1.621 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 3.356e-06/0.001199, allocations: 0 / 12.55 MB, free: 1.621 MB / 13.93 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.0002211/0.001421, allocations: 115.2 kB / 12.66 MB, free: 1.508 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 3.455e-05/0.001455, allocations: 384 / 12.66 MB, free: 1.508 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.001487, allocations: 8.062 kB / 12.67 MB, free: 1.5 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.001513, allocations: 0 / 12.67 MB, free: 1.5 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 1.651e-05/0.00153, allocations: 0 / 12.67 MB, free: 1.5 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-06/0.001535, allocations: 4 kB / 12.67 MB, free: 1.496 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.00173, allocations: 143.6 kB / 12.82 MB, free: 1.355 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.001739, allocations: 128 / 12.82 MB, free: 1.355 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 8.626e-06/0.001748, allocations: 128 / 12.82 MB, free: 1.355 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.001891, allocations: 119.6 kB / 12.93 MB, free: 1.238 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.001905, allocations: 0 / 12.93 MB, free: 1.238 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.583e-06/0.001906, allocations: 4 kB / 12.94 MB, free: 1.234 MB / 13.93 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.001916, allocations: 0 / 12.94 MB, free: 1.234 MB / 13.93 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.0002551/0.002171, allocations: 294.2 kB / 13.22 MB, free: 0.9102 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.002198, allocations: 8.391 kB / 13.23 MB, free: 0.9023 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.002231, allocations: 8.938 kB / 13.24 MB, free: 0.8945 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.665e-05/0.002278, allocations: 109.8 kB / 13.35 MB, free: 0.7617 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.002286, allocations: 384 / 13.35 MB, free: 0.7617 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-06/0.002292, allocations: 4.312 kB / 13.35 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.491e-05/0.002347, allocations: 34.27 kB / 13.39 MB, free: 0.7188 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.002353, allocations: 192 / 13.39 MB, free: 0.7188 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-06/0.002357, allocations: 384 / 13.39 MB, free: 0.7188 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.002362, allocations: 384 / 13.39 MB, free: 0.7188 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-06/0.002369, allocations: 3.938 kB / 13.39 MB, free: 0.7148 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.002553, allocations: 291.5 kB / 13.67 MB, free: 424 kB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 5.074e-05/0.002603, allocations: 169.1 kB / 13.84 MB, free: 244 kB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.002623, allocations: 84.14 kB / 13.92 MB, free: 156 kB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.002641, allocations: 75.28 kB / 14 MB, free: 80 kB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004318/0.006959, allocations: 113.1 kB / 14.11 MB, free: 1.18 MB / 13.93 MB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.006961, allocations: 0 / 14.11 MB, free: 1.18 MB / 13.93 MB Notification: Performance of matching and sorting (n=0): time 4.564e-05/0.007006, allocations: 25.7 kB / 14.13 MB, free: 1.148 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.007031, allocations: 133.8 kB / 14.26 MB, free: 1.012 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.256e-05/0.007073, allocations: 100.1 kB / 14.36 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-06/0.007078, allocations: 26.2 kB / 14.39 MB, free: 0.875 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 2.343e-05/0.007102, allocations: 87.53 kB / 14.47 MB, free: 0.793 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.007103, allocations: 0 / 14.47 MB, free: 0.793 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/0.007122, allocations: 16.52 kB / 14.49 MB, free: 0.7773 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 2.551e-05/0.007147, allocations: 317.5 kB / 14.8 MB, free: 476 kB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-06/0.007151, allocations: 0 / 14.8 MB, free: 476 kB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.542e-05/0.007166, allocations: 39.08 kB / 14.84 MB, free: 428 kB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.571e-05/0.007182, allocations: 4.859 kB / 14.84 MB, free: 420 kB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007184, allocations: 3.438 kB / 14.84 MB, free: 420 kB / 13.93 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.733e-05/0.007231, allocations: 36.3 kB / 14.88 MB, free: 388 kB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.007242, allocations: 12.39 kB / 14.89 MB, free: 384 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.007246, allocations: 3.75 kB / 14.89 MB, free: 384 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.007253, allocations: 4.75 kB / 14.9 MB, free: 384 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.843e-05/0.007292, allocations: 0 / 14.9 MB, free: 384 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-06/0.007294, allocations: 0 / 14.9 MB, free: 384 kB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.007304, allocations: 352 / 14.9 MB, free: 384 kB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.007307, allocations: 2.656 kB / 14.9 MB, free: 384 kB / 13.93 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 5.097e-05/0.007358, allocations: 183.9 kB / 15.08 MB, free: 4.871 MB / 18.61 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.00739, allocations: 111 kB / 15.19 MB, free: 4.762 MB / 18.61 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.007427, allocations: 116.3 kB / 15.3 MB, free: 4.648 MB / 18.61 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.964e-05/0.007466, allocations: 182.4 kB / 15.48 MB, free: 4.469 MB / 18.61 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.921e-05/0.007506, allocations: 176.3 kB / 15.65 MB, free: 4.289 MB / 18.61 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.972e-05/0.007545, allocations: 182.4 kB / 15.83 MB, free: 4.109 MB / 18.61 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.007658, allocations: 318.3 kB / 16.14 MB, free: 3.781 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/0.007683, allocations: 104.5 kB / 16.24 MB, free: 3.676 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.417e-05/0.007708, allocations: 108.5 kB / 16.35 MB, free: 3.57 MB / 18.61 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.007738, allocations: 111.3 kB / 16.46 MB, free: 3.461 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.062e-05/0.007779, allocations: 180.4 kB / 16.64 MB, free: 3.281 MB / 18.61 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.00782, allocations: 177.6 kB / 16.81 MB, free: 3.102 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-05/0.007859, allocations: 188.4 kB / 16.99 MB, free: 2.922 MB / 18.61 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.55e-05/0.007895, allocations: 176.8 kB / 17.17 MB, free: 2.742 MB / 18.61 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.138e-05/0.007976, allocations: 305.3 kB / 17.46 MB, free: 2.434 MB / 18.61 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.008018, allocations: 192.7 kB / 17.65 MB, free: 2.246 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.42e-05/0.008062, allocations: 102.4 kB / 17.75 MB, free: 2.141 MB / 18.61 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.008102, allocations: 188.8 kB / 17.94 MB, free: 1.961 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.008125, allocations: 106 kB / 18.04 MB, free: 1.855 MB / 18.61 MB Notification: Performance of sorting global known variables: time 1.157e-05/0.008136, allocations: 6.797 kB / 18.05 MB, free: 1.848 MB / 18.61 MB Notification: Performance of sort global known variables: time 5e-08/0.008137, allocations: 0 / 18.05 MB, free: 1.848 MB / 18.61 MB Notification: Performance of remove unused functions: time 0.0001687/0.008305, allocations: 42.17 kB / 18.09 MB, free: 1.848 MB / 18.61 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.001131/0.009436, allocations: 0.7806 MB / 18.87 MB, free: 1.281 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 7.769e-05/0.009514, allocations: 14.53 kB / 18.88 MB, free: 1.281 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.009518, allocations: 0 / 18.88 MB, free: 1.281 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.009543, allocations: 0 / 18.88 MB, free: 1.281 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.009717, allocations: 461.7 kB / 19.33 MB, free: 0.832 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001605/0.009877, allocations: 158.2 kB / 19.49 MB, free: 0.6523 MB / 18.61 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.806e-05/0.009905, allocations: 51.66 kB / 19.54 MB, free: 0.582 MB / 18.61 MB Notification: Performance of simCode: alias equations: time 1.899e-05/0.009924, allocations: 2.5 kB / 19.54 MB, free: 0.582 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.009955, allocations: 54.61 kB / 19.59 MB, free: 0.5312 MB / 18.61 MB Notification: Performance of SimCode: time 5.91e-07/0.009956, allocations: 0 / 19.59 MB, free: 0.5312 MB / 18.61 MB Notification: Performance of Templates: time 0.002974/0.01293, allocations: 1.931 MB / 21.53 MB, free: 5.484 MB / 24.82 MB " [Timeout remaining time 660] make -j1 -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.makefile [Timeout 660] (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_cvode && ../MessagePack_MessagePack.Examples.TestCreateAndReadFile -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 240] (rm -f MessagePack_MessagePack.Examples.TestCreateAndReadFile_dassl.pipe ; mkfifo MessagePack_MessagePack.Examples.TestCreateAndReadFile_dassl.pipe ; head -c 1048576 < MessagePack_MessagePack.Examples.TestCreateAndReadFile_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MessagePack_MessagePack.Examples.TestCreateAndReadFile_dassl.sim & (cd run_dassl && ../MessagePack_MessagePack.Examples.TestCreateAndReadFile -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > MessagePack_MessagePack.Examples.TestCreateAndReadFile_dassl.pipe 2>&1) [Timeout 240] (rm -f MessagePack_MessagePack.Examples.TestCreateAndReadFile_gbode.pipe ; mkfifo MessagePack_MessagePack.Examples.TestCreateAndReadFile_gbode.pipe ; head -c 1048576 < MessagePack_MessagePack.Examples.TestCreateAndReadFile_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MessagePack_MessagePack.Examples.TestCreateAndReadFile_gbode.sim & (cd run_gbode && ../MessagePack_MessagePack.Examples.TestCreateAndReadFile -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > MessagePack_MessagePack.Examples.TestCreateAndReadFile_gbode.pipe 2>&1) [Timeout 240] (rm -f MessagePack_MessagePack.Examples.TestCreateAndReadFile_ida.pipe ; mkfifo MessagePack_MessagePack.Examples.TestCreateAndReadFile_ida.pipe ; head -c 1048576 < MessagePack_MessagePack.Examples.TestCreateAndReadFile_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MessagePack_MessagePack.Examples.TestCreateAndReadFile_ida.sim & (cd run_ida && ../MessagePack_MessagePack.Examples.TestCreateAndReadFile -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > MessagePack_MessagePack.Examples.TestCreateAndReadFile_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 1.3032854329794645]