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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.01231/0.01231, allocations: 2.989 MB / 307.5 MB, free: 3.184 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001991/0.001991, allocations: 63.89 kB / 428.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.309, allocations: 53.06 MB / 481.8 MB, free: 27.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002861/0.3118, allocations: 1.521 MB / 483.3 MB, free: 26.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3135, allocations: 1.331 MB / 484.6 MB, free: 25.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.3136, allocations: 0 / 484.6 MB, free: 25.49 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo:141:3-163:14:writable] Warning: Pure function 'ExternData.MATFile' contains a call to impure function 'ExternData.Types.ExternMATFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.3139, allocations: 32.59 kB / 484.7 MB, free: 25.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.314, allocations: 32.12 kB / 484.7 MB, free: 25.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.3143, allocations: 84.62 kB / 484.8 MB, free: 25.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3144, allocations: 50.53 kB / 484.8 MB, free: 25.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.3145, allocations: 6.609 kB / 484.8 MB, free: 25.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.331e-05/0.3145, allocations: 31.7 kB / 484.9 MB, free: 25.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.3147, allocations: 28.92 kB / 484.9 MB, free: 25.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3147, allocations: 6.594 kB / 484.9 MB, free: 25.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.3149, allocations: 93.98 kB / 485 MB, free: 25.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.3149, allocations: 13.08 kB / 485 MB, free: 25.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.315, allocations: 22.17 kB / 485 MB, free: 25.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3152, allocations: 113 kB / 485.1 MB, free: 25.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3152, allocations: 4 kB / 485.1 MB, free: 25.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3152, allocations: 0 / 485.1 MB, free: 25.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3152, allocations: 0 / 485.1 MB, free: 25.28 MB / 366.1 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.000476/0.3157, allocations: 405.8 kB / 485.5 MB, free: 24.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3157, allocations: 15.52 kB / 485.5 MB, free: 24.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.3158, allocations: 8.016 kB / 485.6 MB, free: 24.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.316, allocations: 178 kB / 485.7 MB, free: 24.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.316, allocations: 3.562 kB / 485.7 MB, free: 24.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.316, allocations: 384 / 485.7 MB, free: 24.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3162, allocations: 70.72 kB / 485.8 MB, free: 24.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3162, allocations: 3.031 kB / 485.8 MB, free: 24.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3162, allocations: 0 / 485.8 MB, free: 24.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3162, allocations: 0 / 485.8 MB, free: 24.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.815e-05/0.3162, allocations: 37.48 kB / 485.8 MB, free: 24.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.3164, allocations: 176.3 kB / 486 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.3165, allocations: 47.09 kB / 486.1 MB, free: 24.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.3165, allocations: 27.27 kB / 486.1 MB, free: 24.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.3165, allocations: 11.12 kB / 486.1 MB, free: 24.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.3166, allocations: 104.5 kB / 486.2 MB, free: 24.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.3166, allocations: 0 / 486.2 MB, free: 24.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003065/0.317, allocations: 191.1 kB / 486.4 MB, free: 24.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.317, allocations: 80.11 kB / 486.5 MB, free: 24.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.3171, allocations: 123.8 kB / 486.6 MB, free: 23.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.3171, allocations: 28.64 kB / 486.6 MB, free: 23.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.056e-05/0.3171, allocations: 88.14 kB / 486.7 MB, free: 23.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3171, allocations: 22.19 kB / 486.7 MB, free: 23.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.3172, allocations: 18.75 kB / 486.7 MB, free: 23.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.3172, allocations: 318.2 kB / 487.1 MB, free: 23.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-05/0.3173, allocations: 29.56 kB / 487.1 MB, free: 23.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.3173, allocations: 26.36 kB / 487.1 MB, free: 23.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.078e-05/0.3174, allocations: 125 kB / 487.2 MB, free: 23.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3174, allocations: 4 kB / 487.2 MB, free: 23.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001562/0.3175, allocations: 174.5 kB / 487.4 MB, free: 23.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.3176, allocations: 38.72 kB / 487.4 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3176, allocations: 240 / 487.4 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3176, allocations: 2.812 kB / 487.4 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.3176, allocations: 3.156 kB / 487.4 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.3176, allocations: 3.984 kB / 487.5 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.3177, allocations: 3.156 kB / 487.5 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3177, allocations: 3.031 kB / 487.5 MB, free: 23.21 MB / 366.1 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.65e-05/0.3178, allocations: 161.2 kB / 487.6 MB, free: 23.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.3178, allocations: 15.14 kB / 487.6 MB, free: 23.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.3178, allocations: 11.72 kB / 487.6 MB, free: 23.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3178, allocations: 144 / 487.6 MB, free: 23.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3178, allocations: 7.922 kB / 487.6 MB, free: 23.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3178, allocations: 0 / 487.6 MB, free: 23.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.605e-05/0.3179, allocations: 186.1 kB / 487.8 MB, free: 22.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3179, allocations: 0 / 487.8 MB, free: 22.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.3179, allocations: 7.219 kB / 487.8 MB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3179, allocations: 0 / 487.8 MB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3179, allocations: 3.031 kB / 487.8 MB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3179, allocations: 0 / 487.8 MB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3179, allocations: 4 kB / 487.8 MB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.3182, allocations: 207.3 kB / 488 MB, free: 22.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.3182, allocations: 85 kB / 488.1 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3182, allocations: 6.172 kB / 488.1 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.3182, allocations: 3.312 kB / 488.1 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.3183, allocations: 11.62 kB / 488.1 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.3183, allocations: 0 / 488.1 MB, free: 22.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.3183, allocations: 99.67 kB / 488.2 MB, free: 22.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3183, allocations: 0 / 488.2 MB, free: 22.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.3186, allocations: 42.55 kB / 488.3 MB, free: 22.49 MB / 366.1 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.0008812/0.3194, allocations: 266.6 kB / 488.5 MB, free: 22.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.3196, allocations: 137 kB / 488.7 MB, free: 22.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3196, allocations: 0 / 488.7 MB, free: 22.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.006e-05/0.3197, allocations: 95.08 kB / 488.8 MB, free: 22.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.3199, allocations: 9.75 kB / 488.8 MB, free: 22.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.3202, allocations: 195 kB / 489 MB, free: 22.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3203, allocations: 0.6983 MB / 489.7 MB, free: 21.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.3204, allocations: 7.625 kB / 489.7 MB, free: 21.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.3204, allocations: 11.22 kB / 489.7 MB, free: 21.32 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3204, allocations: 0 / 489.7 MB, free: 21.32 MB / 366.1 MB Notification: Performance of Templates: time 0.004487/0.3249, allocations: 1.477 MB / 491.2 MB, free: 21.16 MB / 366.1 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.920953219756484]