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.001002/0.001002, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002427, allocations: 440 kB / 10.41 MB, free: 284 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.001045/0.001045, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002405, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9443/0.9443, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08411/1.028, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.01227/0.01227, allocations: 2.25 MB / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002576/0.01485, allocations: 1.426 MB / 247.8 MB, free: 11.05 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.373e-06/1.373e-06, allocations: 0 / 249.1 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.963e-05, allocations: 2.312 kB / 249.1 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002812/0.002832, allocations: 1.604 MB / 250.7 MB, free: 8.148 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.004736, allocations: 1.438 MB / 252.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.004808, allocations: 0 / 252.1 MB, free: 6.703 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.000332/0.00514, allocations: 43.72 kB / 252.2 MB, free: 6.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.463e-05/0.005235, allocations: 35.84 kB / 252.2 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.005488, allocations: 67.73 kB / 252.3 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.005639, allocations: 55.86 kB / 252.3 MB, free: 6.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.005682, allocations: 3.984 kB / 252.3 MB, free: 6.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.005806, allocations: 47.91 kB / 252.4 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.005939, allocations: 15.92 kB / 252.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.005957, allocations: 0 / 252.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.006164, allocations: 107.8 kB / 252.5 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.006224, allocations: 15.94 kB / 252.5 MB, free: 6.316 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.006263, allocations: 11.94 kB / 252.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.006503, allocations: 103.8 kB / 252.6 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.644e-05/0.006519, allocations: 3.938 kB / 252.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.006521, allocations: 0 / 252.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.006534, allocations: 4 kB / 252.7 MB, free: 6.195 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.0007229/0.007257, allocations: 313.9 kB / 253 MB, free: 5.859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.007302, allocations: 12.03 kB / 253 MB, free: 5.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.007351, allocations: 4.938 kB / 253 MB, free: 5.844 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.007528, allocations: 125.7 kB / 253.1 MB, free: 5.695 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.007538, allocations: 384 / 253.1 MB, free: 5.695 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.007551, allocations: 4.375 kB / 253.1 MB, free: 5.691 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.007666, allocations: 78.77 kB / 253.2 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.007674, allocations: 192 / 253.2 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.007683, allocations: 4.375 kB / 253.2 MB, free: 5.598 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.007689, allocations: 7.938 kB / 253.2 MB, free: 5.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.007733, allocations: 49.61 kB / 253.2 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.057e-05/0.007824, allocations: 67.86 kB / 253.3 MB, free: 5.453 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.007877, allocations: 52.28 kB / 253.4 MB, free: 5.387 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.00792, allocations: 54.59 kB / 253.4 MB, free: 5.324 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-06/0.007926, allocations: 0 / 253.4 MB, free: 5.324 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.008054, allocations: 133.7 kB / 253.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.008055, allocations: 0 / 253.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001859/0.008241, allocations: 178.7 kB / 253.7 MB, free: 4.969 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.00831, allocations: 166.2 kB / 253.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.008384, allocations: 126.6 kB / 254 MB, free: 4.633 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.008398, allocations: 25.7 kB / 254 MB, free: 4.602 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.008421, allocations: 88.14 kB / 254.1 MB, free: 4.512 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.008453, allocations: 19.77 kB / 254.1 MB, free: 4.492 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.008493, allocations: 25.69 kB / 254.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.008578, allocations: 314.8 kB / 254.5 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.531e-05/0.008614, allocations: 48.52 kB / 254.5 MB, free: 4.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.008643, allocations: 41.64 kB / 254.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.318e-05/0.008726, allocations: 111 kB / 254.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008727, allocations: 0 / 254.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001164/0.008844, allocations: 129.1 kB / 254.8 MB, free: 3.773 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.008879, allocations: 37.7 kB / 254.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.008883, allocations: 3.938 kB / 254.8 MB, free: 3.727 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.008893, allocations: 0 / 254.8 MB, free: 3.727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.174e-05/0.008945, allocations: 7.984 kB / 254.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.008948, allocations: 0 / 254.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.008997, allocations: 11.89 kB / 254.8 MB, free: 3.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.009006, allocations: 4 kB / 254.9 MB, free: 3.703 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 8.291e-05/0.009089, allocations: 150.4 kB / 255 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.009106, allocations: 8 kB / 255 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.009127, allocations: 12.42 kB / 255 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.009129, allocations: 4 kB / 255 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.00913, allocations: 0 / 255 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.009134, allocations: 3.938 kB / 255 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.127e-05/0.009215, allocations: 77.88 kB / 255.1 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009217, allocations: 0 / 255.1 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.009236, allocations: 4 kB / 255.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.009245, allocations: 7.953 kB / 255.1 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.009247, allocations: 0 / 255.1 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.009257, allocations: 4 kB / 255.1 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009259, allocations: 0 / 255.1 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.009259, allocations: 0 / 255.1 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.009408, allocations: 190 kB / 255.3 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.009427, allocations: 4 kB / 255.3 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.00946, allocations: 4 kB / 255.3 MB, free: 3.176 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.009483, allocations: 3.938 kB / 255.3 MB, free: 3.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.009496, allocations: 4 kB / 255.3 MB, free: 3.168 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.299e-05/0.009519, allocations: 25.23 kB / 255.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00952, allocations: 0 / 255.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.009717, allocations: 43.88 kB / 255.4 MB, free: 3.098 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.001254/0.01097, allocations: 377.6 kB / 255.8 MB, free: 2.852 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.01115, allocations: 183.5 kB / 255.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.01116, allocations: 0 / 255.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.01125, allocations: 125.9 kB / 256.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.01138, allocations: 41.7 kB / 256.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.01188, allocations: 196 kB / 256.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.01223, allocations: 67.34 kB / 256.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.673e-05/0.01225, allocations: 0 / 256.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.228e-05/0.01235, allocations: 75.36 kB / 256.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01235, allocations: 0 / 256.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of Templates: time 0.004036/0.01638, allocations: 1.691 MB / 258.1 MB, free: 404 kB / 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.4597414592280984]