Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009353/0.0009353, allocations: 177.3 kB / 15.95 MB, free: 216 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.257/1.257, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2708/0.2708, allocations: 39.99 MB / 310.4 MB, free: 9.977 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.0005475/0.0005475, allocations: 12 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.0958, allocations: 57.96 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.001816/0.09766, allocations: 1.456 MB / 438.2 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.09883, allocations: 0.8084 MB / 439 MB, free: 296 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.09893, allocations: 4 kB / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.09934, allocations: 275.4 kB / 439.3 MB, free: 16 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.09966, allocations: 187.5 kB / 439.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.1, allocations: 135.7 kB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1002, allocations: 151.7 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/0.1003, allocations: 17.53 kB / 439.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1004, allocations: 111.6 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1006, allocations: 135.7 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1006, allocations: 8 kB / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.241e-05/0.1007, allocations: 27.98 kB / 440.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1008, allocations: 135.6 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.1009, allocations: 77.45 kB / 440.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1012, allocations: 267.8 kB / 440.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1012, allocations: 0 / 440.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1012, allocations: 0 / 440.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1012, allocations: 0 / 440.5 MB, free: 14.78 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007757/0.102, allocations: 0.6686 MB / 441.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.102, allocations: 12.03 kB / 441.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.1021, allocations: 47.44 kB / 441.3 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.1026, allocations: 411.2 kB / 441.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1027, allocations: 4 kB / 441.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1027, allocations: 4 kB / 441.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1029, allocations: 91.28 kB / 441.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1029, allocations: 3.938 kB / 441.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1029, allocations: 0 / 441.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1029, allocations: 7.953 kB / 441.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.425e-05/0.103, allocations: 31.97 kB / 441.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.1034, allocations: 374.2 kB / 442.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1036, allocations: 109.2 kB / 442.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.1036, allocations: 0 / 442.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1039, allocations: 117 kB / 442.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1039, allocations: 0 / 442.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004187/0.1043, allocations: 193.5 kB / 442.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.1044, allocations: 89.06 kB / 442.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/0.1053, allocations: 1.007 MB / 443.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1053, allocations: 33.7 kB / 443.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1055, allocations: 224.1 kB / 443.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.1055, allocations: 27.64 kB / 444 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.1055, allocations: 4 kB / 444 MB, free: 11.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1057, allocations: 366.8 kB / 444.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.1058, allocations: 31.98 kB / 444.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.1059, allocations: 59.41 kB / 444.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.106, allocations: 32 kB / 444.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.106, allocations: 0 / 444.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002656/0.1062, allocations: 165 kB / 444.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1063, allocations: 8.062 kB / 444.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1063, allocations: 0 / 444.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1063, allocations: 4 kB / 444.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1064, allocations: 19.98 kB / 444.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1064, allocations: 7.953 kB / 444.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1065, allocations: 11.91 kB / 444.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1066, allocations: 7.938 kB / 444.7 MB, free: 10.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001838/0.1067, allocations: 217.6 kB / 444.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.1068, allocations: 55.34 kB / 444.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.675e-05/0.1069, allocations: 59.84 kB / 445 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1069, allocations: 4 kB / 445 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1069, allocations: 0 / 445 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1069, allocations: 3.953 kB / 445 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.1072, allocations: 341.3 kB / 445.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1072, allocations: 0 / 445.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.1072, allocations: 8 kB / 445.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1073, allocations: 0 / 445.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1073, allocations: 8 kB / 445.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1073, allocations: 4.188 kB / 445.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1073, allocations: 3.938 kB / 445.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.1076, allocations: 215 kB / 445.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.1078, allocations: 140.4 kB / 445.7 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.1078, allocations: 11.92 kB / 445.7 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.1079, allocations: 8 kB / 445.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.108, allocations: 15.94 kB / 445.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.108, allocations: 4 kB / 445.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007118/0.1087, allocations: 0.7487 MB / 446.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1087, allocations: 0 / 446.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.109, allocations: 43.98 kB / 446.5 MB, free: 8.418 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008252/0.1098, allocations: 409.4 kB / 446.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.11, allocations: 87.91 kB / 447 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.11, allocations: 3.938 kB / 447 MB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.41e-05/0.1101, allocations: 43.91 kB / 447.1 MB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1105, allocations: 58.27 kB / 447.1 MB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1116, allocations: 0.8893 MB / 448 MB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.1119, allocations: 0.8468 MB / 448.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.112, allocations: 54.95 kB / 448.9 MB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.1121, allocations: 31.42 kB / 448.9 MB, free: 5.977 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1121, allocations: 0 / 448.9 MB, free: 5.977 MB / 382.1 MB Notification: Performance of Templates: time 0.006839/0.119, allocations: 3.347 MB / 452.3 MB, free: 2.633 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) Environment - environmentSimulation: