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.001319/0.001319, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001512/0.001512, allocations: 156.2 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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.01561/0.01561, allocations: 2.249 MB / 262 MB, free: 14.38 MB / 254.1 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: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 67.91 kB / 386.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1165, allocations: 54.33 MB / 440.6 MB, free: 11.27 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002835/0.1193, allocations: 1.516 MB / 442.1 MB, free: 9.738 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1214, allocations: 1.36 MB / 443.5 MB, free: 8.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.1214, allocations: 0 / 443.5 MB, free: 8.371 MB / 414.1 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.0002982/0.1217, allocations: 31.86 kB / 443.5 MB, free: 8.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.1219, allocations: 27.84 kB / 443.6 MB, free: 8.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1222, allocations: 79.78 kB / 443.6 MB, free: 8.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.1223, allocations: 63.78 kB / 443.7 MB, free: 8.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.1223, allocations: 3.938 kB / 443.7 MB, free: 8.168 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.1224, allocations: 23.92 kB / 443.7 MB, free: 8.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1225, allocations: 31.84 kB / 443.8 MB, free: 8.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1225, allocations: 4 kB / 443.8 MB, free: 8.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.1227, allocations: 91.91 kB / 443.9 MB, free: 8.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.1228, allocations: 8 kB / 443.9 MB, free: 8.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.1228, allocations: 31.78 kB / 443.9 MB, free: 7.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.123, allocations: 111.7 kB / 444 MB, free: 7.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.123, allocations: 0 / 444 MB, free: 7.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1231, allocations: 0 / 444 MB, free: 7.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1231, allocations: 3.938 kB / 444 MB, free: 7.867 MB / 414.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.0004917/0.1235, allocations: 323.7 kB / 444.3 MB, free: 7.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1236, allocations: 8.031 kB / 444.3 MB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1236, allocations: 12.89 kB / 444.3 MB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1239, allocations: 118.5 kB / 444.5 MB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1239, allocations: 384 / 444.5 MB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1239, allocations: 4.375 kB / 444.5 MB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1241, allocations: 99.62 kB / 444.6 MB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1241, allocations: 0 / 444.6 MB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1241, allocations: 4 kB / 444.6 MB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1241, allocations: 0 / 444.6 MB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.385e-05/0.1242, allocations: 61.67 kB / 444.6 MB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.1244, allocations: 121.2 kB / 444.7 MB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1245, allocations: 76.27 kB / 444.8 MB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.1246, allocations: 58.59 kB / 444.9 MB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.1246, allocations: 4 kB / 444.9 MB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.1248, allocations: 142.7 kB / 445 MB, free: 6.699 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1248, allocations: 0 / 445 MB, free: 6.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004755/0.1253, allocations: 250.7 kB / 445.3 MB, free: 6.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.1254, allocations: 85.09 kB / 445.4 MB, free: 6.328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1255, allocations: 121.8 kB / 445.5 MB, free: 6.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1255, allocations: 33.7 kB / 445.5 MB, free: 6.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.1256, allocations: 80.52 kB / 445.6 MB, free: 6.078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.1256, allocations: 31.97 kB / 445.6 MB, free: 6.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.1257, allocations: 21.72 kB / 445.6 MB, free: 6.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1258, allocations: 322.8 kB / 445.9 MB, free: 5.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.1259, allocations: 61.62 kB / 446 MB, free: 5.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.035e-05/0.126, allocations: 65.67 kB / 446.1 MB, free: 5.559 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1261, allocations: 128.2 kB / 446.2 MB, free: 5.418 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1261, allocations: 0 / 446.2 MB, free: 5.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003197/0.1264, allocations: 201 kB / 446.4 MB, free: 5.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.1265, allocations: 41.62 kB / 446.4 MB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1265, allocations: 4 kB / 446.4 MB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1265, allocations: 4 kB / 446.4 MB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.1266, allocations: 4 kB / 446.4 MB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1266, allocations: 0 / 446.4 MB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.007e-05/0.1267, allocations: 7.953 kB / 446.5 MB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1267, allocations: 0 / 446.5 MB, free: 5.137 MB / 414.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 0.0001391/0.1268, allocations: 151.5 kB / 446.6 MB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.1268, allocations: 7.938 kB / 446.6 MB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.1269, allocations: 12.44 kB / 446.6 MB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1269, allocations: 0 / 446.6 MB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.1269, allocations: 3.984 kB / 446.6 MB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1269, allocations: 0 / 446.6 MB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.127, allocations: 125.3 kB / 446.7 MB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.127, allocations: 0 / 446.7 MB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/0.127, allocations: 4 kB / 446.8 MB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.127, allocations: 0 / 446.8 MB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.127, allocations: 15.86 kB / 446.8 MB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.127, allocations: 0 / 446.8 MB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.127, allocations: 96 / 446.8 MB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.1274, allocations: 248.4 kB / 447 MB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.1274, allocations: 7.891 kB / 447 MB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1274, allocations: 11.92 kB / 447 MB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/0.1275, allocations: 8 kB / 447 MB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.1275, allocations: 0 / 447 MB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.1275, allocations: 8 kB / 447 MB, free: 4.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.038e-05/0.1276, allocations: 95.27 kB / 447.1 MB, free: 4.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1276, allocations: 0 / 447.1 MB, free: 4.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1279, allocations: 39.92 kB / 447.2 MB, free: 4.332 MB / 414.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.0009786/0.1288, allocations: 272.2 kB / 447.4 MB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.1291, allocations: 198.7 kB / 447.6 MB, free: 3.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1291, allocations: 0 / 447.6 MB, free: 3.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1293, allocations: 133 kB / 447.8 MB, free: 3.758 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1295, allocations: 12 kB / 447.8 MB, free: 3.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.1299, allocations: 223 kB / 448 MB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.754e-05/0.13, allocations: 79.33 kB / 448.1 MB, free: 3.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.222e-05/0.13, allocations: 0 / 448.1 MB, free: 3.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.13, allocations: 20.42 kB / 448.1 MB, free: 3.375 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.13, allocations: 0 / 448.1 MB, free: 3.375 MB / 414.1 MB Notification: Performance of Templates: time 0.005067/0.1351, allocations: 1.514 MB / 449.6 MB, free: 1.867 MB / 414.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 -s ida -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.489740676013753] Failed to read output from testmodel.py, exit status != 0: 0.1438966990681365 0.159032895 0.032787474000000004 Calling exit ...