Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.MATTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009939/0.0009939, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.00238, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.002248, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.873/0.873, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07608/0.9491, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01448/0.01448, allocations: 2.247 MB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003305/0.01779, allocations: 1.418 MB / 247.6 MB, free: 11.17 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 248.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.615e-05, allocations: 6.312 kB / 248.9 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.001723/0.001739, allocations: 1.604 MB / 250.5 MB, free: 8.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.002958, allocations: 1.426 MB / 251.9 MB, free: 6.859 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.003001, allocations: 0 / 251.9 MB, free: 6.859 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:123:3-145:14:writable] Warning: Pure function 'ExternData.MATFile' contains a call to impure function 'ExternData.Types.ExternMATFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.003186, allocations: 35.78 kB / 252 MB, free: 6.824 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.118e-05/0.003247, allocations: 27.84 kB / 252 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.003405, allocations: 67.73 kB / 252.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.0035, allocations: 59.78 kB / 252.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.084e-05/0.003531, allocations: 7.984 kB / 252.1 MB, free: 6.664 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.353e-05/0.003605, allocations: 35.92 kB / 252.2 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.003687, allocations: 23.92 kB / 252.2 MB, free: 6.605 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.003699, allocations: 4 kB / 252.2 MB, free: 6.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.003845, allocations: 107.8 kB / 252.3 MB, free: 6.496 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.003883, allocations: 15.92 kB / 252.3 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.003911, allocations: 8 kB / 252.3 MB, free: 6.473 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.004061, allocations: 103.7 kB / 252.4 MB, free: 6.371 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.004073, allocations: 0 / 252.4 MB, free: 6.371 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004074, allocations: 0 / 252.4 MB, free: 6.371 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.004087, allocations: 0 / 252.4 MB, free: 6.371 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004675/0.004554, allocations: 318 kB / 252.7 MB, free: 6.031 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.004581, allocations: 8.031 kB / 252.7 MB, free: 6.023 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.004611, allocations: 8.938 kB / 252.7 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.004736, allocations: 129.6 kB / 252.9 MB, free: 5.863 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.004745, allocations: 8.375 kB / 252.9 MB, free: 5.855 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.004753, allocations: 384 / 252.9 MB, free: 5.855 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.52e-05/0.004838, allocations: 82.7 kB / 253 MB, free: 5.762 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.004844, allocations: 192 / 253 MB, free: 5.762 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.00485, allocations: 384 / 253 MB, free: 5.762 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.004855, allocations: 3.938 kB / 253 MB, free: 5.758 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.004889, allocations: 45.69 kB / 253 MB, free: 5.707 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.954e-05/0.004969, allocations: 63.88 kB / 253.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.834e-05/0.005017, allocations: 68.2 kB / 253.1 MB, free: 5.547 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.005049, allocations: 42.56 kB / 253.2 MB, free: 5.496 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.005054, allocations: 0 / 253.2 MB, free: 5.496 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.005165, allocations: 141.8 kB / 253.3 MB, free: 5.332 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.005166, allocations: 0 / 253.3 MB, free: 5.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001519/0.005318, allocations: 174.7 kB / 253.5 MB, free: 5.137 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.005351, allocations: 85.11 kB / 253.6 MB, free: 5.035 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.005413, allocations: 126.6 kB / 253.7 MB, free: 4.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.005423, allocations: 25.7 kB / 253.7 MB, free: 4.867 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.909e-05/0.005442, allocations: 84.12 kB / 253.8 MB, free: 4.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.005469, allocations: 23.84 kB / 253.8 MB, free: 4.758 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.005499, allocations: 25.69 kB / 253.8 MB, free: 4.727 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.005561, allocations: 310.8 kB / 254.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.005587, allocations: 48.52 kB / 254.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.005608, allocations: 41.7 kB / 254.2 MB, free: 4.312 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.005669, allocations: 103 kB / 254.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.00567, allocations: 0 / 254.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.942e-05/0.00576, allocations: 137 kB / 254.5 MB, free: 4.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.005797, allocations: 37.7 kB / 254.5 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005801, allocations: 0 / 254.5 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.066e-06/0.00581, allocations: 0 / 254.5 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.005864, allocations: 11.98 kB / 254.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.005867, allocations: 0 / 254.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.005943, allocations: 11.89 kB / 254.5 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.00595, allocations: 4 kB / 254.5 MB, free: 3.973 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.853e-05/0.006029, allocations: 161.8 kB / 254.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.006041, allocations: 4 kB / 254.7 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.006061, allocations: 12.44 kB / 254.7 MB, free: 3.781 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.006064, allocations: 3.984 kB / 254.7 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.006065, allocations: 0 / 254.7 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.00607, allocations: 4.078 kB / 254.7 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.459e-05/0.006135, allocations: 81.88 kB / 254.8 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.006137, allocations: 3.984 kB / 254.8 MB, free: 3.672 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/0.006152, allocations: 4 kB / 254.8 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-06/0.00616, allocations: 3.953 kB / 254.8 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006162, allocations: 0 / 254.8 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.006168, allocations: 4 kB / 254.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.00617, allocations: 0 / 254.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.00617, allocations: 0 / 254.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.006284, allocations: 182 kB / 255 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.006303, allocations: 8 kB / 255 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.459e-05/0.006327, allocations: 0 / 255 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.006348, allocations: 8 kB / 255 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.006357, allocations: 0 / 255 MB, free: 3.434 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.812e-05/0.006376, allocations: 25.23 kB / 255 MB, free: 3.406 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006376, allocations: 0 / 255 MB, free: 3.406 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.006511, allocations: 43.88 kB / 255.1 MB, free: 3.363 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0008315/0.007343, allocations: 378 kB / 255.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.007478, allocations: 175.6 kB / 255.6 MB, free: 2.914 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.007483, allocations: 0 / 255.6 MB, free: 2.914 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.177e-05/0.007545, allocations: 125.9 kB / 255.7 MB, free: 2.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.371e-05/0.007639, allocations: 15.98 kB / 255.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.008, allocations: 203.7 kB / 256 MB, free: 2.52 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.008035, allocations: 59.34 kB / 256 MB, free: 2.441 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.013e-05/0.008055, allocations: 7.984 kB / 256 MB, free: 2.434 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.008118, allocations: 67.38 kB / 256.1 MB, free: 2.367 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008119, allocations: 4 kB / 256.1 MB, free: 2.363 MB / 250.7 MB Notification: Performance of Templates: time 0.00307/0.01119, allocations: 1.676 MB / 257.8 MB, free: 0.7031 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.MATTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.MATTest.pipe ; mkfifo ExternData_ExternData.Examples.MATTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.MATTest.pipe >> ../files/ExternData_ExternData.Examples.MATTest.sim & ./ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.474951728247106]