Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",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.0008019/0.0008053, allocations: 175.8 kB / 16.72 MB, free: 5.082 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.255/1.255, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007621/0.0007621, allocations: 90.34 kB / 271.2 MB, free: 8.242 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.2908/0.2908, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09836, allocations: 58.86 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.001999/0.1004, allocations: 1.579 MB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1015, allocations: 0.7888 MB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.1016, allocations: 0 / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.1018, allocations: 39.83 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.102, allocations: 43.77 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1022, allocations: 87.83 kB / 493.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1024, allocations: 119.6 kB / 493.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.1025, allocations: 37.39 kB / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.1026, allocations: 47.78 kB / 493.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.1027, allocations: 39.72 kB / 493.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1027, allocations: 4 kB / 493.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.566e-05/0.1028, allocations: 35.98 kB / 493.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.1028, allocations: 19.92 kB / 493.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.1029, allocations: 69.38 kB / 493.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.103, allocations: 112 kB / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1031, allocations: 0 / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1031, allocations: 0 / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.1031, allocations: 0 / 493.9 MB, free: 7.508 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.0005014/0.1036, allocations: 460.6 kB / 494.4 MB, free: 7.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1036, allocations: 8.031 kB / 494.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.1037, allocations: 42.73 kB / 494.4 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.1037, allocations: 16.75 kB / 494.5 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1039, allocations: 220 kB / 494.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1039, allocations: 8.375 kB / 494.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.104, allocations: 7.938 kB / 494.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.1042, allocations: 111.9 kB / 494.8 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1042, allocations: 3.938 kB / 494.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1042, allocations: 4 kB / 494.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1042, allocations: 7.984 kB / 494.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1044, allocations: 59.89 kB / 494.9 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.1049, allocations: 0.5048 MB / 495.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.1052, allocations: 90.66 kB / 495.5 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.1053, allocations: 40.78 kB / 495.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1053, allocations: 11.94 kB / 495.5 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.1055, allocations: 79.38 kB / 495.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1055, allocations: 0 / 495.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003611/0.1059, allocations: 157.3 kB / 495.8 MB, free: 5.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.106, allocations: 51.41 kB / 495.8 MB, free: 5.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1061, allocations: 187.5 kB / 496 MB, free: 5.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1062, allocations: 25.7 kB / 496 MB, free: 5.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.1062, allocations: 123.9 kB / 496.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.1063, allocations: 19.72 kB / 496.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.1063, allocations: 4 kB / 496.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.1064, allocations: 322.8 kB / 496.5 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.35e-05/0.1065, allocations: 39.97 kB / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-05/0.1066, allocations: 64.22 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.1068, allocations: 100.2 kB / 496.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1068, allocations: 384 / 496.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002582/0.107, allocations: 145.4 kB / 496.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.107, allocations: 8.031 kB / 496.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1071, allocations: 4 kB / 496.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1071, allocations: 3.938 kB / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.1072, allocations: 27.92 kB / 496.9 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1072, allocations: 0 / 496.9 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.1073, allocations: 15.84 kB / 496.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1073, allocations: 8 kB / 496.9 MB, free: 4.293 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.695e-05/0.1074, allocations: 125.8 kB / 497 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.1074, allocations: 15.91 kB / 497 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.1074, allocations: 21.39 kB / 497 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1075, allocations: 3.938 kB / 497 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1075, allocations: 0 / 497 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1075, allocations: 4 kB / 497 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.1076, allocations: 213.5 kB / 497.3 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1076, allocations: 0 / 497.3 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.467e-05/0.1077, allocations: 11.94 kB / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1077, allocations: 4 kB / 497.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1077, allocations: 7.984 kB / 497.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1078, allocations: 3.938 kB / 497.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1078, allocations: 3.938 kB / 497.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.1081, allocations: 176.9 kB / 497.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.1082, allocations: 100.9 kB / 497.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1082, allocations: 8.062 kB / 497.6 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.1083, allocations: 7.938 kB / 497.6 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.1083, allocations: 7.984 kB / 497.6 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.1083, allocations: 8 kB / 497.6 MB, free: 3.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.542e-05/0.1084, allocations: 137.2 kB / 497.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1084, allocations: 0 / 497.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.1086, allocations: 24.19 kB / 497.7 MB, free: 3.332 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.001242/0.1099, allocations: 1.042 MB / 498.8 MB, free: 2.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.1101, allocations: 87.83 kB / 498.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1101, allocations: 0 / 498.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.075e-05/0.1102, allocations: 35.98 kB / 498.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.1105, allocations: 35.84 kB / 498.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1117, allocations: 0.8798 MB / 499.8 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.1119, allocations: 0.7162 MB / 0.4888 GB, free: 472 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.112, allocations: 39.42 kB / 0.4888 GB, free: 432 kB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.112, allocations: 0 / 0.4888 GB, free: 432 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.904/3.016, allocations: 2.494 MB / 0.4913 GB, free: 42.23 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)