Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 192.7 kB / 16.53 MB, free: 6.699 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.685/1.685, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3665/0.3665, allocations: 37.99 MB / 307.7 MB, free: 10.06 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.1. 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.001587/0.001587, allocations: 71.91 kB / 375.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.141, allocations: 56.46 MB / 431.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003323/0.1444, allocations: 1.634 MB / 433.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1458, allocations: 0.7935 MB / 434.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.1459, allocations: 0 / 434.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.1464, allocations: 59.8 kB / 434.2 MB, free: 4.121 MB / 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.0002826/0.1466, allocations: 67.67 kB / 434.3 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.1469, allocations: 83.7 kB / 434.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1471, allocations: 95.69 kB / 434.4 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.1472, allocations: 7.984 kB / 434.4 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.904e-05/0.1472, allocations: 47.83 kB / 434.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1474, allocations: 39.84 kB / 434.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1474, allocations: 4 kB / 434.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-05/0.1475, allocations: 35.92 kB / 434.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.1475, allocations: 11.98 kB / 434.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.1476, allocations: 39.67 kB / 434.6 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1478, allocations: 104 kB / 434.7 MB, free: 3.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1478, allocations: 3.938 kB / 434.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1478, allocations: 0 / 434.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1479, allocations: 0 / 434.7 MB, free: 3.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006621/0.1485, allocations: 395 kB / 435.1 MB, free: 3.156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1486, allocations: 11.89 kB / 435.1 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.1486, allocations: 8.844 kB / 435.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.1489, allocations: 204.1 kB / 435.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1489, allocations: 4.375 kB / 435.3 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1489, allocations: 8.125 kB / 435.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1491, allocations: 57.59 kB / 435.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1491, allocations: 0 / 435.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1491, allocations: 0 / 435.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1491, allocations: 0 / 435.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.1492, allocations: 15.98 kB / 435.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.1495, allocations: 185.6 kB / 435.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.1497, allocations: 58.61 kB / 435.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.287e-05/0.1497, allocations: 20.8 kB / 435.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1498, allocations: 3.938 kB / 435.7 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.15, allocations: 63.39 kB / 435.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.15, allocations: 0 / 435.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003173/0.1503, allocations: 93.58 kB / 435.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.1504, allocations: 59.39 kB / 435.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1506, allocations: 182.2 kB / 436.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.1507, allocations: 25.7 kB / 436.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.1507, allocations: 104.1 kB / 436.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1508, allocations: 19.75 kB / 436.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.1508, allocations: 21.7 kB / 436.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.151, allocations: 318.8 kB / 436.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.151, allocations: 19.98 kB / 436.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.1511, allocations: 29.72 kB / 436.6 MB, free: 1.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.723e-05/0.1512, allocations: 37.72 kB / 436.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1512, allocations: 256 / 436.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001554/0.1514, allocations: 89.45 kB / 436.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1514, allocations: 8 kB / 436.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1514, allocations: 0 / 436.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1515, allocations: 4.031 kB / 436.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.1515, allocations: 8 kB / 436.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1516, allocations: 4 kB / 436.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.1516, allocations: 7.984 kB / 436.8 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1516, allocations: 4 kB / 436.8 MB, free: 1.324 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001127/0.1517, allocations: 125.7 kB / 436.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.1518, allocations: 7.906 kB / 436.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.1518, allocations: 16.3 kB / 436.9 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1518, allocations: 4 kB / 436.9 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1518, allocations: 0 / 436.9 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1518, allocations: 4 kB / 436.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.152, allocations: 189.4 kB / 437.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.152, allocations: 0 / 437.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.1521, allocations: 7.984 kB / 437.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1521, allocations: 0 / 437.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1521, allocations: 4 kB / 437.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1521, allocations: 0 / 437.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1521, allocations: 0 / 437.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1523, allocations: 116.9 kB / 437.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.1524, allocations: 89.02 kB / 437.3 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1524, allocations: 0 / 437.3 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.279e-05/0.1524, allocations: 0 / 437.3 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1525, allocations: 7.984 kB / 437.3 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1525, allocations: 3.938 kB / 437.3 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1526, allocations: 144.1 kB / 437.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1526, allocations: 0 / 437.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1529, allocations: 23.98 kB / 437.5 MB, free: 0.5 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001075/0.1539, allocations: 414.3 kB / 437.9 MB, free: 120 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.1541, allocations: 43.92 kB / 437.9 MB, free: 76 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1541, allocations: 0 / 437.9 MB, free: 76 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.1542, allocations: 19.98 kB / 438 MB, free: 56 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.1545, allocations: 31.78 kB / 438 MB, free: 24 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.1551, allocations: 202 kB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.1555, allocations: 0.704 MB / 438.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.1555, allocations: 16.78 kB / 438.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.1556, allocations: 15.44 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1556, allocations: 0 / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of Templates: time 0.004809/0.1604, allocations: 1.458 MB / 440.4 MB, free: 13.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)