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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 105.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001204, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.0127/0.0127, allocations: 2.96 MB / 293.7 MB, free: 12.05 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 60.12 kB / 354.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2208, allocations: 50.33 MB / 405.2 MB, free: 32.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.002163/0.223, allocations: 1.562 MB / 406.7 MB, free: 31.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2242, allocations: 1.233 MB / 408 MB, free: 30.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.2243, allocations: 0 / 408 MB, free: 30.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.2245, allocations: 35.84 kB / 408 MB, free: 30 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.2246, allocations: 27.86 kB / 408 MB, free: 29.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.2248, allocations: 64.69 kB / 408.1 MB, free: 29.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.243e-05/0.2249, allocations: 67.78 kB / 408.1 MB, free: 29.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.225, allocations: 7.984 kB / 408.2 MB, free: 29.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.225, allocations: 23.86 kB / 408.2 MB, free: 29.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.2251, allocations: 19.92 kB / 408.2 MB, free: 29.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.2252, allocations: 4 kB / 408.2 MB, free: 29.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.2253, allocations: 99.91 kB / 408.3 MB, free: 29.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.2253, allocations: 23.86 kB / 408.3 MB, free: 29.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.2254, allocations: 15.88 kB / 408.3 MB, free: 29.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.2255, allocations: 77.86 kB / 408.4 MB, free: 29.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2255, allocations: 4 kB / 408.4 MB, free: 29.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2255, allocations: 0 / 408.4 MB, free: 29.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.2255, allocations: 4 kB / 408.4 MB, free: 29.57 MB / 302.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.0003619/0.2259, allocations: 397 kB / 408.8 MB, free: 29.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.627e-05/0.2259, allocations: 11.89 kB / 408.8 MB, free: 29.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.2259, allocations: 4.938 kB / 408.8 MB, free: 29.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2261, allocations: 192.1 kB / 409 MB, free: 28.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-06/0.2261, allocations: 384 / 409 MB, free: 28.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.2261, allocations: 4.375 kB / 409 MB, free: 28.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.2262, allocations: 69.98 kB / 409.1 MB, free: 28.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.2262, allocations: 3.938 kB / 409.1 MB, free: 28.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.2262, allocations: 0 / 409.1 MB, free: 28.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-06/0.2262, allocations: 0 / 409.1 MB, free: 28.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.2263, allocations: 31.98 kB / 409.1 MB, free: 28.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.2264, allocations: 169.6 kB / 409.3 MB, free: 28.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.264e-05/0.2265, allocations: 50.56 kB / 409.3 MB, free: 28.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.2265, allocations: 40.89 kB / 409.4 MB, free: 28.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.2266, allocations: 8 kB / 409.4 MB, free: 28.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.2267, allocations: 116.9 kB / 409.5 MB, free: 28.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2267, allocations: 0 / 409.5 MB, free: 28.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002906/0.227, allocations: 183.5 kB / 409.7 MB, free: 28.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.227, allocations: 81.11 kB / 409.8 MB, free: 28.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.2271, allocations: 125.8 kB / 409.9 MB, free: 27.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.2271, allocations: 25.7 kB / 409.9 MB, free: 27.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/0.2271, allocations: 92.12 kB / 410 MB, free: 27.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.2272, allocations: 15.72 kB / 410 MB, free: 27.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.2272, allocations: 25.7 kB / 410 MB, free: 27.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.187e-05/0.2272, allocations: 314.8 kB / 410.3 MB, free: 27.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.2273, allocations: 31.92 kB / 410.4 MB, free: 27.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.2273, allocations: 31.98 kB / 410.4 MB, free: 27.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.947e-05/0.2274, allocations: 116.2 kB / 410.5 MB, free: 27.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2274, allocations: 0 / 410.5 MB, free: 27.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001518/0.2276, allocations: 171.1 kB / 410.7 MB, free: 27.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2276, allocations: 37.7 kB / 410.7 MB, free: 26.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2276, allocations: 4 kB / 410.7 MB, free: 26.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.2276, allocations: 0 / 410.7 MB, free: 26.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.2277, allocations: 7.938 kB / 410.7 MB, free: 26.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.2277, allocations: 0 / 410.7 MB, free: 26.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.2278, allocations: 11.92 kB / 410.7 MB, free: 26.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2278, allocations: 0 / 410.7 MB, free: 26.96 MB / 302.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 6.419e-05/0.2278, allocations: 151.5 kB / 410.9 MB, free: 26.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.2279, allocations: 15.84 kB / 410.9 MB, free: 26.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.531e-05/0.2279, allocations: 12.38 kB / 410.9 MB, free: 26.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2279, allocations: 0 / 410.9 MB, free: 26.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.2279, allocations: 480 / 410.9 MB, free: 26.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2279, allocations: 0 / 410.9 MB, free: 26.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.757e-05/0.228, allocations: 177.6 kB / 411.1 MB, free: 26.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.228, allocations: 0 / 411.1 MB, free: 26.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.228, allocations: 7.938 kB / 411.1 MB, free: 26.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.228, allocations: 3.938 kB / 411.1 MB, free: 26.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.228, allocations: 4 kB / 411.1 MB, free: 26.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.2281, allocations: 3.938 kB / 411.1 MB, free: 26.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2281, allocations: 4 kB / 411.1 MB, free: 26.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.2283, allocations: 210.7 kB / 411.3 MB, free: 26.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.2283, allocations: 88.95 kB / 411.4 MB, free: 26.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.2283, allocations: 0 / 411.4 MB, free: 26.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.2284, allocations: 4 kB / 411.4 MB, free: 26.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.2285, allocations: 3.984 kB / 411.4 MB, free: 26.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2285, allocations: 11.98 kB / 411.4 MB, free: 26.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.372e-05/0.2285, allocations: 95.28 kB / 411.5 MB, free: 26.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2285, allocations: 0 / 411.5 MB, free: 26.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.2287, allocations: 39.98 kB / 411.6 MB, free: 26.04 MB / 302.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.0005351/0.2293, allocations: 281.8 kB / 411.8 MB, free: 25.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.2295, allocations: 167.3 kB / 412 MB, free: 25.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.2295, allocations: 0 / 412 MB, free: 25.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.2296, allocations: 119.4 kB / 412.1 MB, free: 25.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.2297, allocations: 12 kB / 412.1 MB, free: 25.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.23, allocations: 203.1 kB / 412.3 MB, free: 25.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.653e-05/0.2301, allocations: 0.6876 MB / 413 MB, free: 24.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.2301, allocations: 11.44 kB / 413 MB, free: 24.55 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2301, allocations: 3.938 kB / 413 MB, free: 24.55 MB / 302.1 MB Notification: Performance of Templates: time 0.002544/0.2327, allocations: 1.468 MB / 414.5 MB, free: 23.09 MB / 302.1 MB make -j1 -f ExternData_ExternData.Examples.MATTest.makefile (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)