Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 102.8 kB / 16.27 MB, free: 5.969 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.001162/0.001162, allocations: 190 kB / 17.19 MB, free: 5.602 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.405/1.405, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2002/0.2002, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 70.19 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09946, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00311/0.1026, allocations: 1.779 MB / 442.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1039, allocations: 0.8741 MB / 443.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.104, allocations: 3.938 kB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.1044, allocations: 311.3 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.1048, allocations: 219.3 kB / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1051, allocations: 135.3 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.1054, allocations: 239.4 kB / 444.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.036e-05/0.1055, allocations: 17.81 kB / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1056, allocations: 123.6 kB / 444.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.1058, allocations: 191.5 kB / 444.5 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.1058, allocations: 8 kB / 444.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.106, allocations: 47.97 kB / 444.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1061, allocations: 135.6 kB / 444.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1062, allocations: 150.8 kB / 444.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.1065, allocations: 354.7 kB / 445.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1065, allocations: 0 / 445.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1065, allocations: 0 / 445.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1065, allocations: 0 / 445.2 MB, free: 2.25 MB / 318.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.0007721/0.1073, allocations: 0.7345 MB / 445.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1073, allocations: 11.89 kB / 445.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.1074, allocations: 42.73 kB / 446 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.1075, allocations: 48.38 kB / 446 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.1079, allocations: 439.9 kB / 446.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1079, allocations: 8.359 kB / 446.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.108, allocations: 7.938 kB / 446.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1081, allocations: 79.38 kB / 446.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1082, allocations: 7.875 kB / 446.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1082, allocations: 3.984 kB / 446.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1082, allocations: 4 kB / 446.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.1083, allocations: 27.98 kB / 446.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.1086, allocations: 374.4 kB / 446.9 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.1088, allocations: 117 kB / 447.1 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-05/0.1089, allocations: 45.67 kB / 447.1 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1089, allocations: 0 / 447.1 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.1092, allocations: 105 kB / 447.2 MB, free: 16 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1092, allocations: 4 kB / 447.2 MB, free: 12 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004958/0.1097, allocations: 201.4 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1098, allocations: 81.09 kB / 447.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.1109, allocations: 1.034 MB / 448.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1109, allocations: 29.7 kB / 448.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1111, allocations: 236.1 kB / 448.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.1111, allocations: 27.61 kB / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.1112, allocations: 25.72 kB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1113, allocations: 374.8 kB / 449.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.374e-05/0.1114, allocations: 27.98 kB / 449.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.119e-05/0.1115, allocations: 51.42 kB / 449.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.1117, allocations: 95.34 kB / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1117, allocations: 3.938 kB / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002857/0.112, allocations: 165 kB / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.112, allocations: 7.938 kB / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.112, allocations: 0 / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1121, allocations: 4 kB / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1122, allocations: 19.98 kB / 449.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1122, allocations: 0 / 449.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.469e-05/0.1123, allocations: 27.89 kB / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1123, allocations: 4 kB / 449.6 MB, free: 13.54 MB / 334.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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.1125, allocations: 225.6 kB / 449.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.1126, allocations: 51.42 kB / 449.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.031e-05/0.1126, allocations: 60 kB / 449.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1127, allocations: 0 / 449.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1127, allocations: 0 / 449.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1127, allocations: 0 / 449.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.1129, allocations: 345.4 kB / 450.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.113, allocations: 11.98 kB / 450.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.113, allocations: 8 kB / 450.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.113, allocations: 0 / 450.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.113, allocations: 4 kB / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.113, allocations: 3.938 kB / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.113, allocations: 0 / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.1134, allocations: 205.2 kB / 450.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1135, allocations: 140.4 kB / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.1135, allocations: 4 kB / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.1136, allocations: 4 kB / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.1137, allocations: 11.98 kB / 450.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1137, allocations: 4 kB / 450.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007592/0.1145, allocations: 0.7721 MB / 451.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1145, allocations: 0 / 451.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1147, allocations: 44 kB / 451.5 MB, free: 11.56 MB / 334.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 (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.001395/0.1161, allocations: 1.06 MB / 452.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.1164, allocations: 83.89 kB / 452.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1164, allocations: 8.062 kB / 452.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1165, allocations: 43.92 kB / 452.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.117, allocations: 75.81 kB / 452.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.1225, allocations: 4.63 MB / 457.4 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.123, allocations: 0.8388 MB / 458.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.1231, allocations: 63.45 kB / 458.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.1233, allocations: 147.4 kB / 458.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1233, allocations: 0 / 458.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.1485, allocations: 8.77 MB / 467.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.113, allocations: 0 / 467.2 MB, free: 11.74 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)