Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001021, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001418/0.001418, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.2707/0.2707, allocations: 38.03 MB / 308.4 MB, free: 10.37 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.0005162/0.0005163, allocations: 20 kB / 376.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09444, allocations: 57.52 MB / 434 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.001792/0.09628, allocations: 1.37 MB / 435.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.09737, allocations: 0.7382 MB / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.09747, allocations: 3.938 kB / 436.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.09772, allocations: 43.83 kB / 436.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.09792, allocations: 43.83 kB / 436.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.09816, allocations: 67.86 kB / 436.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.0983, allocations: 87.73 kB / 436.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.401e-05/0.09839, allocations: 12.22 kB / 436.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.789e-05/0.09847, allocations: 35.8 kB / 436.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.09854, allocations: 27.84 kB / 436.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.09858, allocations: 4 kB / 436.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.09868, allocations: 43.86 kB / 436.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.09872, allocations: 15.98 kB / 436.5 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.09876, allocations: 37.64 kB / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.09891, allocations: 88.08 kB / 436.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.09892, allocations: 0 / 436.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09892, allocations: 0 / 436.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.09893, allocations: 0 / 436.6 MB, free: 2.895 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004445/0.09938, allocations: 398.9 kB / 437 MB, free: 2.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.09942, allocations: 12.03 kB / 437 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.09946, allocations: 15.77 kB / 437 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.09966, allocations: 202.9 kB / 437.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.09969, allocations: 4 kB / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.09971, allocations: 0 / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.09984, allocations: 57.67 kB / 437.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.09986, allocations: 0 / 437.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.09987, allocations: 4 kB / 437.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.09988, allocations: 0 / 437.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.416e-05/0.09995, allocations: 23.88 kB / 437.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.1003, allocations: 292.9 kB / 437.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1004, allocations: 54.67 kB / 437.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.1005, allocations: 20.86 kB / 437.6 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1005, allocations: 0 / 437.6 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1007, allocations: 71.33 kB / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1007, allocations: 0 / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004736/0.1012, allocations: 173.2 kB / 437.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.1012, allocations: 51.41 kB / 437.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1014, allocations: 186.2 kB / 438.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1014, allocations: 25.7 kB / 438.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.1015, allocations: 108.1 kB / 438.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.1015, allocations: 19.72 kB / 438.3 MB, free: 1.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.1015, allocations: 4 kB / 438.3 MB, free: 1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1016, allocations: 322.8 kB / 438.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.1017, allocations: 23.98 kB / 438.6 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.1017, allocations: 33.7 kB / 438.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.505e-05/0.1018, allocations: 20 kB / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1018, allocations: 0 / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001775/0.102, allocations: 113.6 kB / 438.8 MB, free: 488 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.102, allocations: 11.95 kB / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.102, allocations: 3.938 kB / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1021, allocations: 3.938 kB / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.1021, allocations: 16 kB / 438.8 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1021, allocations: 7.922 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.1022, allocations: 0 / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1022, allocations: 4 kB / 438.8 MB, free: 440 kB / 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.631e-05/0.1023, allocations: 122.9 kB / 438.9 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1023, allocations: 19.89 kB / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.1024, allocations: 16.67 kB / 439 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1024, allocations: 0 / 439 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1024, allocations: 0 / 439 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1024, allocations: 0 / 439 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.1028, allocations: 391.3 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1029, allocations: 3.953 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.1029, allocations: 12.36 kB / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1029, allocations: 4.031 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1029, allocations: 4 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1029, allocations: 4 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1029, allocations: 240 / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.1032, allocations: 208.1 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.1032, allocations: 92.95 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1032, allocations: 0 / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1033, allocations: 12 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.1033, allocations: 7.984 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1034, allocations: 4 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1035, allocations: 144 kB / 439.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1035, allocations: 0 / 439.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1037, allocations: 24 kB / 439.9 MB, free: 15.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008988/0.1046, allocations: 468.8 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.1048, allocations: 59.91 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1048, allocations: 0 / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.1049, allocations: 27.94 kB / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.1052, allocations: 28.09 kB / 440.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.1056, allocations: 230.3 kB / 440.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1058, allocations: 0.7122 MB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.1059, allocations: 17.17 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.1059, allocations: 15.44 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1059, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of Templates: time 0.00358/0.1095, allocations: 1.599 MB / 443 MB, free: 12.1 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) Environment - environmentSimulation: