Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",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.0009096/0.0009095, allocations: 174.5 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.253/1.253, 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.0006932/0.0006932, allocations: 90.36 kB / 271.2 MB, free: 8.246 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.2901/0.2901, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003328, allocations: 16 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.0957, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00214/0.09788, allocations: 1.59 MB / 492.5 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.09909, allocations: 0.7772 MB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.09924, allocations: 7.938 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.09953, allocations: 39.83 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.09975, allocations: 43.77 kB / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.1001, allocations: 83.84 kB / 493.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.1003, allocations: 127.6 kB / 493.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1004, allocations: 25.48 kB / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1005, allocations: 47.72 kB / 493.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.1006, allocations: 47.77 kB / 493.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.1006, allocations: 0 / 493.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1007, allocations: 39.98 kB / 493.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.1008, allocations: 19.86 kB / 493.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.1009, allocations: 69.42 kB / 493.8 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.101, allocations: 100 kB / 493.9 MB, free: 7.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1011, allocations: 4 kB / 493.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1011, allocations: 0 / 493.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1011, allocations: 0 / 493.9 MB, free: 7.758 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.0005618/0.1016, allocations: 468.5 kB / 494.4 MB, free: 7.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1017, allocations: 12.03 kB / 494.4 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1017, allocations: 38.73 kB / 494.4 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.1018, allocations: 20.75 kB / 494.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.102, allocations: 220.1 kB / 494.7 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.102, allocations: 4.375 kB / 494.7 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1021, allocations: 11.94 kB / 494.7 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.1023, allocations: 111.8 kB / 494.8 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1023, allocations: 0 / 494.8 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1024, allocations: 4 kB / 494.8 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1024, allocations: 4 kB / 494.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1025, allocations: 51.91 kB / 494.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.1031, allocations: 0.5087 MB / 495.4 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.1034, allocations: 90.59 kB / 495.5 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1035, allocations: 44.78 kB / 495.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1036, allocations: 0 / 495.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.1038, allocations: 91.25 kB / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1038, allocations: 0 / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003749/0.1042, allocations: 153.3 kB / 495.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1042, allocations: 59.39 kB / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1044, allocations: 187.5 kB / 496 MB, free: 5.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1044, allocations: 29.7 kB / 496 MB, free: 5.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.1045, allocations: 119.9 kB / 496.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1045, allocations: 23.7 kB / 496.2 MB, free: 5.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.1045, allocations: 0 / 496.2 MB, free: 5.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.1046, allocations: 326.8 kB / 496.5 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.51e-05/0.1047, allocations: 27.98 kB / 496.5 MB, free: 4.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.1049, allocations: 68.27 kB / 496.6 MB, free: 4.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.105, allocations: 104.2 kB / 496.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1051, allocations: 0 / 496.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002698/0.1053, allocations: 137.3 kB / 496.8 MB, free: 4.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1054, allocations: 11.69 kB / 496.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1054, allocations: 4.125 kB / 496.8 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1054, allocations: 7.938 kB / 496.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.1055, allocations: 23.98 kB / 496.9 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1055, allocations: 0 / 496.9 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.1056, allocations: 31.75 kB / 496.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1056, allocations: 4 kB / 496.9 MB, free: 4.531 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 0.0001001/0.1057, allocations: 125.8 kB / 497 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1057, allocations: 11.91 kB / 497 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.1058, allocations: 21.39 kB / 497 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1058, allocations: 3.938 kB / 497 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1058, allocations: 0 / 497 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1058, allocations: 0 / 497 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.106, allocations: 209.5 kB / 497.3 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.106, allocations: 0 / 497.3 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.508e-05/0.1061, allocations: 15.98 kB / 497.3 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1061, allocations: 0 / 497.3 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1061, allocations: 8 kB / 497.3 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1061, allocations: 3.938 kB / 497.3 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1061, allocations: 7.938 kB / 497.3 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.1065, allocations: 176.9 kB / 497.5 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.1065, allocations: 96.88 kB / 497.6 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.1066, allocations: 4 kB / 497.6 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.1066, allocations: 23.98 kB / 497.6 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.1067, allocations: 4 kB / 497.6 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1067, allocations: 3.984 kB / 497.6 MB, free: 3.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.962e-05/0.1068, allocations: 141.2 kB / 497.7 MB, free: 3.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1068, allocations: 0 / 497.7 MB, free: 3.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.107, allocations: 27.98 kB / 497.8 MB, free: 3.566 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.001289/0.1083, allocations: 1.03 MB / 498.8 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.1086, allocations: 84.02 kB / 498.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1086, allocations: 192 / 498.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.799e-05/0.1087, allocations: 43.86 kB / 498.9 MB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.109, allocations: 35.91 kB / 498.9 MB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1102, allocations: 0.8797 MB / 499.8 MB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1105, allocations: 0.7122 MB / 0.4888 GB, free: 0.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.1106, allocations: 47.42 kB / 0.4888 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1106, allocations: 0 / 0.4888 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.907/3.018, allocations: 2.499 MB / 0.4913 GB, free: 42.12 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)