Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test12",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.0009888/0.0009887, allocations: 170.4 kB / 16.72 MB, free: 4.934 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.264/1.264, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0008195/0.0008193, allocations: 86.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.2924/0.2924, allocations: 43.57 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 12 kB / 432.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09525, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002082/0.09737, allocations: 1.594 MB / 492.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.09857, allocations: 0.7772 MB / 493.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.09871, allocations: 7.938 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.099, allocations: 39.83 kB / 493.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.09921, allocations: 43.77 kB / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.09952, allocations: 91.83 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.09975, allocations: 119.6 kB / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.09987, allocations: 21.48 kB / 493.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.09998, allocations: 55.7 kB / 493.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.1001, allocations: 39.78 kB / 493.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1001, allocations: 4 kB / 493.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1002, allocations: 39.98 kB / 493.8 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.1003, allocations: 23.84 kB / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.1004, allocations: 69.44 kB / 493.8 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1005, allocations: 108 kB / 493.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1005, allocations: 0 / 493.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1006, allocations: 0 / 493.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1006, allocations: 0 / 493.9 MB, free: 7.723 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.0005594/0.1011, allocations: 460.5 kB / 494.4 MB, free: 7.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1012, allocations: 12.03 kB / 494.4 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.1012, allocations: 38.73 kB / 494.4 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.1013, allocations: 16.75 kB / 494.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1015, allocations: 220.1 kB / 494.7 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1016, allocations: 8.375 kB / 494.7 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.1016, allocations: 7.938 kB / 494.7 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.1018, allocations: 120 kB / 494.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1018, allocations: 0 / 494.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1019, allocations: 0 / 494.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.1019, allocations: 4 kB / 494.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.102, allocations: 51.91 kB / 494.9 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.1026, allocations: 0.5009 MB / 495.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.1029, allocations: 98.59 kB / 495.5 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.811e-05/0.103, allocations: 44.72 kB / 495.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1031, allocations: 0 / 495.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.1033, allocations: 87.36 kB / 495.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1033, allocations: 3.938 kB / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004001/0.1037, allocations: 153.4 kB / 495.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.1037, allocations: 55.34 kB / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1039, allocations: 187.5 kB / 496 MB, free: 5.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1039, allocations: 25.7 kB / 496 MB, free: 5.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.104, allocations: 119.9 kB / 496.1 MB, free: 5.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.104, allocations: 27.69 kB / 496.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-06/0.1041, allocations: 8 kB / 496.2 MB, free: 5.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1042, allocations: 322.8 kB / 496.5 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.1043, allocations: 27.98 kB / 496.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/0.1044, allocations: 68.27 kB / 496.6 MB, free: 4.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1046, allocations: 96.22 kB / 496.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1046, allocations: 0 / 496.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002683/0.1048, allocations: 149.7 kB / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1049, allocations: 4 kB / 496.8 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1049, allocations: 3.938 kB / 496.8 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1049, allocations: 11.92 kB / 496.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.796e-05/0.105, allocations: 23.98 kB / 496.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.105, allocations: 4 kB / 496.9 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.487e-05/0.1051, allocations: 23.95 kB / 496.9 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1051, allocations: 8 kB / 496.9 MB, free: 4.5 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.923e-05/0.1052, allocations: 121.8 kB / 497 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.1052, allocations: 11.91 kB / 497 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.1053, allocations: 21.39 kB / 497 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1053, allocations: 3.938 kB / 497 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1053, allocations: 0 / 497 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1053, allocations: 0 / 497 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.1055, allocations: 209.5 kB / 497.2 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1055, allocations: 4 kB / 497.3 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.1056, allocations: 15.98 kB / 497.3 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1056, allocations: 0 / 497.3 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1056, allocations: 0 / 497.3 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1056, allocations: 7.938 kB / 497.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1056, allocations: 3.938 kB / 497.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.106, allocations: 184.9 kB / 497.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.106, allocations: 96.89 kB / 497.6 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1061, allocations: 0 / 497.6 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.1061, allocations: 15.92 kB / 497.6 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.1062, allocations: 8 kB / 497.6 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1062, allocations: 3.984 kB / 497.6 MB, free: 3.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1063, allocations: 141.2 kB / 497.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1063, allocations: 4.062 kB / 497.7 MB, free: 3.566 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00022/0.1065, allocations: 27.98 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.001328/0.1079, allocations: 1.031 MB / 498.8 MB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1081, allocations: 87.83 kB / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1081, allocations: 0 / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.426e-05/0.1082, allocations: 39.92 kB / 498.9 MB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.1085, allocations: 36.16 kB / 498.9 MB, free: 2.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.1098, allocations: 0.8835 MB / 499.8 MB, free: 1.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.1101, allocations: 0.7083 MB / 0.4888 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.175e-05/0.1101, allocations: 47.41 kB / 0.4888 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1101, allocations: 0 / 0.4888 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.849/2.959, allocations: 2.496 MB / 0.4913 GB, free: 42.25 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)