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.001484/0.001491, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 100.6 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3143/0.3143, allocations: 43.48 MB / 353.5 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.493e-05, allocations: 8 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4375, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.6002, allocations: 87.95 MB / 0.5519 GB, free: 11.27 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.6006, allocations: 75.47 kB / 0.552 GB, free: 11.2 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01949/0.6201, allocations: 4.214 MB / 0.5561 GB, free: 6.984 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6201, allocations: 0 / 0.5561 GB, free: 6.984 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.6202, allocations: 4 kB / 0.5561 GB, free: 6.98 MB / 395.1 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.0007514/0.6209, allocations: 468.5 kB / 0.5565 GB, free: 6.473 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.621, allocations: 8.031 kB / 0.5565 GB, free: 6.465 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.6211, allocations: 11.91 kB / 0.5565 GB, free: 6.453 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.6216, allocations: 230.6 kB / 0.5568 GB, free: 6.188 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.6216, allocations: 4 kB / 0.5568 GB, free: 6.184 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.6217, allocations: 4 kB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001509/0.6218, allocations: 35.98 kB / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.622, allocations: 88.25 kB / 0.5569 GB, free: 6.043 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6221, allocations: 0 / 0.5569 GB, free: 6.043 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.6221, allocations: 3.984 kB / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.6221, allocations: 4 kB / 0.5569 GB, free: 6.035 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/0.623, allocations: 0.4936 MB / 0.5574 GB, free: 5.496 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.6233, allocations: 74.62 kB / 0.5575 GB, free: 5.414 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.461e-05/0.6234, allocations: 36.84 kB / 0.5575 GB, free: 5.375 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.6234, allocations: 0 / 0.5575 GB, free: 5.375 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.6237, allocations: 79.33 kB / 0.5576 GB, free: 5.285 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 2.205e-06/0.6237, allocations: 0 / 0.5576 GB, free: 5.285 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003418/0.624, allocations: 105.4 kB / 0.5577 GB, free: 5.176 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.6241, allocations: 55.41 kB / 0.5577 GB, free: 5.109 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.6244, allocations: 162.6 kB / 0.5579 GB, free: 4.934 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.6244, allocations: 25.7 kB / 0.5579 GB, free: 4.902 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.6245, allocations: 178.5 kB / 0.5581 GB, free: 4.727 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.6246, allocations: 27.72 kB / 0.5581 GB, free: 4.699 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.6246, allocations: 0 / 0.5581 GB, free: 4.699 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6248, allocations: 326.8 kB / 0.5584 GB, free: 4.371 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.6248, allocations: 16 kB / 0.5584 GB, free: 4.355 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.6249, allocations: 56.91 kB / 0.5585 GB, free: 4.285 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.289e-05/0.6251, allocations: 27.94 kB / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.6251, allocations: 7.984 kB / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002836/0.6254, allocations: 97.56 kB / 0.5586 GB, free: 4.148 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.6254, allocations: 8 kB / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.6254, allocations: 0 / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.6255, allocations: 7.984 kB / 0.5586 GB, free: 4.133 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.6257, allocations: 16 kB / 0.5586 GB, free: 4.117 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.6257, allocations: 11.94 kB / 0.5586 GB, free: 4.105 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.6259, allocations: 15.97 kB / 0.5587 GB, free: 4.09 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.87e-05/0.6259, allocations: 12 kB / 0.5587 GB, free: 4.078 MB / 395.1 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 () * 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.0001207/0.626, allocations: 105 kB / 0.5588 GB, free: 3.969 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002697/0.6263, allocations: 109.5 kB / 0.5589 GB, free: 3.855 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.6264, allocations: 11.91 kB / 0.5589 GB, free: 3.844 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.6267, allocations: 127.3 kB / 0.559 GB, free: 3.719 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.6267, allocations: 0 / 0.559 GB, free: 3.719 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6267, allocations: 0 / 0.559 GB, free: 3.719 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6268, allocations: 3.984 kB / 0.559 GB, free: 3.715 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.627, allocations: 190.2 kB / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.627, allocations: 0 / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.6272, allocations: 12 kB / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.6272, allocations: 0 / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.6273, allocations: 4 kB / 0.5592 GB, free: 3.477 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.6273, allocations: 0 / 0.5592 GB, free: 3.477 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6273, allocations: 3.953 kB / 0.5592 GB, free: 3.473 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.6277, allocations: 168.8 kB / 0.5594 GB, free: 3.289 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/0.6278, allocations: 92.97 kB / 0.5595 GB, free: 3.18 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.6279, allocations: 4 kB / 0.5595 GB, free: 3.176 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.628, allocations: 8 kB / 0.5595 GB, free: 3.168 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.6281, allocations: 7.984 kB / 0.5595 GB, free: 3.16 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.6281, allocations: 7.953 kB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.6283, allocations: 132.1 kB / 0.5596 GB, free: 3.023 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6283, allocations: 3.938 kB / 0.5596 GB, free: 3.02 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.6287, allocations: 32.03 kB / 0.5596 GB, free: 2.988 MB / 395.1 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.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001741/0.6304, allocations: 0.9496 MB / 0.5606 GB, free: 2.051 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.6307, allocations: 68.05 kB / 0.5606 GB, free: 1.984 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6307, allocations: 4 kB / 0.5606 GB, free: 1.98 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.6308, allocations: 36.12 kB / 0.5607 GB, free: 1.945 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.6313, allocations: 32.14 kB / 0.5607 GB, free: 1.91 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008528/0.6321, allocations: 266.4 kB / 0.561 GB, free: 1.605 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.6325, allocations: 0.7241 MB / 0.5617 GB, free: 0.8555 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.6327, allocations: 39.42 kB / 0.5617 GB, free: 0.8164 MB / 395.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6327, allocations: 0 / 0.5617 GB, free: 0.8164 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.04/3.672, allocations: 2.764 MB / 0.5644 GB, free: 14.06 MB / 411.1 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)