Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01322/0.01322, allocations: 97.97 kB / 15.73 MB, free: 6.055 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.001326/0.001327, allocations: 191.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.246/0.246, allocations: 39.97 MB / 309.9 MB, free: 4.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 69.62 kB / 435.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1332, allocations: 56.88 MB / 492.7 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.004906/0.1382, allocations: 1.684 MB / 494.4 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1401, allocations: 0.8053 MB / 495.2 MB, free: 200 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1402, allocations: 7.938 kB / 495.2 MB, free: 192 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.1407, allocations: 31.83 kB / 495.3 MB, free: 160 kB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000335/0.141, allocations: 51.7 kB / 495.3 MB, free: 108 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1414, allocations: 83.77 kB / 495.4 MB, free: 24 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.1416, allocations: 91.69 kB / 495.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1418, allocations: 32.08 kB / 495.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1419, allocations: 39.8 kB / 495.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.142, allocations: 27.84 kB / 495.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.142, allocations: 4 kB / 495.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1422, allocations: 39.98 kB / 495.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.1422, allocations: 19.86 kB / 495.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.1423, allocations: 39.72 kB / 495.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1426, allocations: 107.6 kB / 495.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1426, allocations: 0 / 495.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1426, allocations: 0 / 495.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1427, allocations: 4 kB / 495.8 MB, free: 15.62 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006802/0.1433, allocations: 414.8 kB / 496.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1434, allocations: 11.89 kB / 496.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.338e-05/0.1435, allocations: 16.84 kB / 496.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.1439, allocations: 208.1 kB / 496.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1439, allocations: 8.375 kB / 496.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1439, allocations: 4.125 kB / 496.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1441, allocations: 53.67 kB / 496.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1441, allocations: 4 kB / 496.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1441, allocations: 4 kB / 496.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1441, allocations: 0 / 496.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.214e-05/0.1442, allocations: 15.98 kB / 496.5 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1447, allocations: 292.8 kB / 496.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.1449, allocations: 70.59 kB / 496.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.145, allocations: 20.84 kB / 496.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.145, allocations: 0 / 496.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.1452, allocations: 67.34 kB / 497 MB, free: 14.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1452, allocations: 4 kB / 497 MB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006208/0.1458, allocations: 177.6 kB / 497.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.1459, allocations: 55.41 kB / 497.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.1461, allocations: 178.2 kB / 497.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1461, allocations: 33.69 kB / 497.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.1462, allocations: 104 kB / 497.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.1462, allocations: 27.72 kB / 497.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1463, allocations: 21.72 kB / 497.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1465, allocations: 326.8 kB / 497.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.1465, allocations: 24.05 kB / 497.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.314e-05/0.1466, allocations: 45.64 kB / 497.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1467, allocations: 53.72 kB / 498 MB, free: 13.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1468, allocations: 0 / 498 MB, free: 13.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002146/0.147, allocations: 109.5 kB / 498.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.147, allocations: 8 kB / 498.1 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.147, allocations: 0 / 498.1 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.1471, allocations: 0 / 498.1 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1472, allocations: 20.02 kB / 498.1 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1472, allocations: 7.938 kB / 498.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.1473, allocations: 3.938 kB / 498.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1473, allocations: 4 kB / 498.1 MB, free: 13.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001317/0.1474, allocations: 129.8 kB / 498.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.1475, allocations: 7.953 kB / 498.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.1475, allocations: 12.72 kB / 498.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1475, allocations: 4 kB / 498.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1475, allocations: 4 kB / 498.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.1475, allocations: 3.938 kB / 498.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.1481, allocations: 391.3 kB / 498.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1481, allocations: 4 kB / 498.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.1481, allocations: 8 kB / 498.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1481, allocations: 3.938 kB / 498.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1482, allocations: 3.938 kB / 498.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.1482, allocations: 0 / 498.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1482, allocations: 4 kB / 498.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.1485, allocations: 208.3 kB / 498.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.1486, allocations: 89 kB / 499 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1486, allocations: 7.938 kB / 499 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.1487, allocations: 4 kB / 499 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.123e-05/0.1487, allocations: 7.984 kB / 499 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1488, allocations: 4 kB / 499 MB, free: 12.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1489, allocations: 144.1 kB / 499.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1489, allocations: 0 / 499.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1492, allocations: 31.92 kB / 499.2 MB, free: 11.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0012/0.1504, allocations: 474.8 kB / 499.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.1507, allocations: 59.91 kB / 499.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1507, allocations: 0 / 499.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.1508, allocations: 27.94 kB / 499.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1511, allocations: 31.83 kB / 499.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.1517, allocations: 219.1 kB / 500 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.1521, allocations: 0.7002 MB / 0.4889 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.1522, allocations: 17.17 kB / 0.489 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.1522, allocations: 15.44 kB / 0.489 GB, free: 10.34 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1522, allocations: 0 / 0.489 GB, free: 10.34 MB / 382.1 MB Notification: Performance of Templates: time 0.005372/0.1576, allocations: 1.7 MB / 0.4906 GB, free: 8.645 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)