Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test14",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.0009034/0.0009035, allocations: 175.9 kB / 16.72 MB, free: 4.949 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.223/1.223, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.000701/0.000701, allocations: 92.97 kB / 271.2 MB, free: 8.234 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.2743/0.2743, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 12 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09302, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00203/0.09509, allocations: 1.676 MB / 492.6 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.09623, allocations: 0.8239 MB / 493.4 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.09632, allocations: 7.938 kB / 493.4 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.09657, allocations: 39.83 kB / 493.5 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.09674, allocations: 51.7 kB / 493.5 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.097, allocations: 103.8 kB / 493.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.09721, allocations: 171.4 kB / 493.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.09731, allocations: 33.66 kB / 493.8 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.09743, allocations: 63.7 kB / 493.9 MB, free: 7.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.09752, allocations: 71.61 kB / 494 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.09755, allocations: 8 kB / 494 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.09764, allocations: 39.98 kB / 494 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.09769, allocations: 31.84 kB / 494 MB, free: 7.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.008e-05/0.09779, allocations: 93.34 kB / 494.1 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.09796, allocations: 132 kB / 494.3 MB, free: 7.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.09797, allocations: 0 / 494.3 MB, free: 7.422 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.09798, allocations: 0 / 494.3 MB, free: 7.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.09799, allocations: 3.938 kB / 494.3 MB, free: 7.418 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007592/0.09875, allocations: 0.541 MB / 494.8 MB, free: 6.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.0988, allocations: 8.031 kB / 494.8 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.09884, allocations: 38.75 kB / 494.9 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.09889, allocations: 16.75 kB / 494.9 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.09913, allocations: 252.7 kB / 495.1 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.09916, allocations: 8.375 kB / 495.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.09919, allocations: 11.94 kB / 495.1 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.09958, allocations: 160.2 kB / 495.3 MB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.0996, allocations: 0 / 495.3 MB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.09962, allocations: 4 kB / 495.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.09963, allocations: 4 kB / 495.3 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.1001, allocations: 139.8 kB / 495.4 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.1006, allocations: 0.5515 MB / 496 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/0.1013, allocations: 186.6 kB / 496.2 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.1015, allocations: 84.8 kB / 496.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1016, allocations: 0 / 496.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.1019, allocations: 155.2 kB / 496.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.1019, allocations: 0 / 496.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008507/0.1028, allocations: 293.5 kB / 496.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1028, allocations: 55.41 kB / 496.7 MB, free: 4.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.103, allocations: 223.2 kB / 497 MB, free: 4.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1031, allocations: 33.7 kB / 497 MB, free: 4.441 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.1032, allocations: 120.3 kB / 497.1 MB, free: 4.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.1032, allocations: 39.59 kB / 497.2 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.1032, allocations: 0 / 497.2 MB, free: 4.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1034, allocations: 338.8 kB / 497.5 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.1036, allocations: 87.89 kB / 497.6 MB, free: 3.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.1039, allocations: 112.2 kB / 497.7 MB, free: 3.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.1044, allocations: 217.8 kB / 497.9 MB, free: 3.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1044, allocations: 4 kB / 497.9 MB, free: 3.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000631/0.105, allocations: 279 kB / 498.2 MB, free: 3.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.1051, allocations: 33.7 kB / 498.2 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1051, allocations: 0 / 498.2 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1051, allocations: 7.938 kB / 498.2 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1053, allocations: 47.95 kB / 498.3 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1053, allocations: 8.062 kB / 498.3 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.1055, allocations: 27.83 kB / 498.3 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.1055, allocations: 15.98 kB / 498.3 MB, free: 3.062 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001244/0.1057, allocations: 129.8 kB / 498.4 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1057, allocations: 15.81 kB / 498.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.1057, allocations: 25.39 kB / 498.5 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.1058, allocations: 7.938 kB / 498.5 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1058, allocations: 0 / 498.5 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1058, allocations: 0 / 498.5 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.106, allocations: 237.4 kB / 498.7 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.106, allocations: 4 kB / 498.7 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1061, allocations: 31.97 kB / 498.7 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.1061, allocations: 0 / 498.7 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1062, allocations: 8 kB / 498.8 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1062, allocations: 3.938 kB / 498.8 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1062, allocations: 3.938 kB / 498.8 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008313/0.107, allocations: 340.7 kB / 499.1 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.1071, allocations: 92.95 kB / 499.2 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.1071, allocations: 7.984 kB / 499.2 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.1073, allocations: 31.91 kB / 499.2 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.1074, allocations: 15.97 kB / 499.2 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1074, allocations: 8 kB / 499.2 MB, free: 2.023 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1075, allocations: 168.7 kB / 499.4 MB, free: 1.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1075, allocations: 3.938 kB / 499.4 MB, free: 1.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.1078, allocations: 40 kB / 499.5 MB, free: 1.816 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001689/0.1094, allocations: 1.186 MB / 0.4889 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005739/0.11, allocations: 239.2 kB / 0.4891 GB, free: 420 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.11, allocations: 0 / 0.4891 GB, free: 420 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.1103, allocations: 100.1 kB / 0.4892 GB, free: 320 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.1106, allocations: 51.81 kB / 0.4893 GB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1437/0.2543, allocations: 1.19 MB / 0.4904 GB, free: 42.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.2545, allocations: 0.7275 MB / 0.4912 GB, free: 42.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.881e-05/0.2546, allocations: 52.12 kB / 0.4912 GB, free: 42.03 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2546, allocations: 0 / 0.4912 GB, free: 42.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.88/3.134, allocations: 3.121 MB / 0.4943 GB, free: 41.91 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)