Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008378/0.0008378, allocations: 175.9 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007818/0.0007819, allocations: 93.41 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3085/0.3085, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 15.98 kB / 432.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.09849, allocations: 58.85 MB / 490.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.001854/0.1004, allocations: 1.59 MB / 492.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1014, allocations: 0.7811 MB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.1015, allocations: 3.938 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.1018, allocations: 39.83 kB / 493.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.1019, allocations: 43.77 kB / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1022, allocations: 83.78 kB / 493.5 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1024, allocations: 131.6 kB / 493.6 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.1025, allocations: 25.47 kB / 493.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.1025, allocations: 47.73 kB / 493.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.1026, allocations: 39.77 kB / 493.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1026, allocations: 4 kB / 493.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.1027, allocations: 39.98 kB / 493.7 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.1028, allocations: 23.86 kB / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.1029, allocations: 65.44 kB / 493.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.103, allocations: 108 kB / 493.9 MB, free: 7.727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.103, allocations: 0 / 493.9 MB, free: 7.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.103, allocations: 0 / 493.9 MB, free: 7.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.103, allocations: 0 / 493.9 MB, free: 7.727 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005037/0.1035, allocations: 472.5 kB / 494.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1036, allocations: 8.031 kB / 494.4 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.1036, allocations: 38.75 kB / 494.4 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.1037, allocations: 12.75 kB / 494.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1039, allocations: 216.1 kB / 494.7 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1039, allocations: 8.375 kB / 494.7 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1039, allocations: 7.938 kB / 494.7 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.1041, allocations: 120 kB / 494.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1042, allocations: 0 / 494.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1042, allocations: 4 kB / 494.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1042, allocations: 0 / 494.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.1043, allocations: 59.89 kB / 494.9 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.1049, allocations: 0.5048 MB / 495.4 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.1052, allocations: 94.59 kB / 495.5 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1053, allocations: 48.72 kB / 495.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1053, allocations: 7.984 kB / 495.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.1055, allocations: 83.31 kB / 495.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1055, allocations: 0 / 495.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003613/0.1059, allocations: 157.3 kB / 495.8 MB, free: 5.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.1059, allocations: 51.41 kB / 495.8 MB, free: 5.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.1061, allocations: 187.5 kB / 496 MB, free: 5.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1061, allocations: 25.7 kB / 496 MB, free: 5.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.1062, allocations: 119.9 kB / 496.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.1062, allocations: 23.7 kB / 496.2 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.1062, allocations: 8 kB / 496.2 MB, free: 5.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.1063, allocations: 322.8 kB / 496.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.493e-05/0.1064, allocations: 31.98 kB / 496.5 MB, free: 4.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1065, allocations: 64.27 kB / 496.6 MB, free: 4.836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1067, allocations: 100.2 kB / 496.7 MB, free: 4.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1067, allocations: 0 / 496.7 MB, free: 4.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000262/0.107, allocations: 145.7 kB / 496.8 MB, free: 4.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.107, allocations: 11.92 kB / 496.8 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.107, allocations: 4 kB / 496.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.107, allocations: 3.938 kB / 496.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.1071, allocations: 23.98 kB / 496.9 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1072, allocations: 0 / 496.9 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.1072, allocations: 15.97 kB / 496.9 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1072, allocations: 12 kB / 496.9 MB, free: 4.504 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 9.472e-05/0.1073, allocations: 125.8 kB / 497 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.1074, allocations: 15.91 kB / 497 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.1074, allocations: 13.41 kB / 497 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1074, allocations: 3.938 kB / 497 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1074, allocations: 0 / 497 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1074, allocations: 4 kB / 497 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.1076, allocations: 213.5 kB / 497.2 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1076, allocations: 0 / 497.2 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.1077, allocations: 15.98 kB / 497.3 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1077, allocations: 4 kB / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1077, allocations: 0 / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1077, allocations: 3.938 kB / 497.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1077, allocations: 3.938 kB / 497.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.1081, allocations: 184.9 kB / 497.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.1081, allocations: 96.89 kB / 497.6 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1081, allocations: 4 kB / 497.6 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.1082, allocations: 11.92 kB / 497.6 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1083, allocations: 11.98 kB / 497.6 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1083, allocations: 4 kB / 497.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1084, allocations: 141.1 kB / 497.7 MB, free: 3.566 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1084, allocations: 4.062 kB / 497.7 MB, free: 3.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.1086, allocations: 24 kB / 497.7 MB, free: 3.539 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001221/0.1098, allocations: 1.03 MB / 498.8 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.1101, allocations: 83.83 kB / 498.9 MB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1101, allocations: 0 / 498.9 MB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.1102, allocations: 43.91 kB / 498.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1105, allocations: 39.77 kB / 498.9 MB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.1116, allocations: 0.8796 MB / 499.8 MB, free: 1.426 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1119, allocations: 0.72 MB / 0.4888 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.112, allocations: 39.42 kB / 0.4888 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.112, allocations: 0 / 0.4888 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.958/3.07, allocations: 2.498 MB / 0.4913 GB, free: 42.32 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)