Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008848/0.0008852, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009143/0.0009144, allocations: 167.8 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3387/0.3387, allocations: 43.55 MB / 314.6 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0005001, allocations: 24 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001676/0.1051, allocations: 1.394 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.106, allocations: 0.7422 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.1061, allocations: 4 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.1063, allocations: 31.83 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1065, allocations: 47.83 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.1067, allocations: 67.84 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.1068, allocations: 79.77 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.658e-05/0.1069, allocations: 8.219 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.888e-05/0.107, allocations: 47.77 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.107, allocations: 27.86 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.107, allocations: 0 / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.525e-05/0.1071, allocations: 39.92 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.1072, allocations: 23.91 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.1072, allocations: 33.7 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1073, allocations: 76.11 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1074, allocations: 0 / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1074, allocations: 0 / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1074, allocations: 0 / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004402/0.1078, allocations: 406.7 kB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.1078, allocations: 8.031 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.1079, allocations: 38.56 kB / 445.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.1079, allocations: 11.84 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1081, allocations: 198.9 kB / 446.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1082, allocations: 8 kB / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1082, allocations: 0 / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1083, allocations: 53.67 kB / 446.2 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1083, allocations: 0 / 446.2 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1083, allocations: 15.95 kB / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1083, allocations: 0 / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.343e-05/0.1084, allocations: 23.91 kB / 446.2 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.1087, allocations: 277 kB / 446.5 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1089, allocations: 54.67 kB / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.1089, allocations: 28.84 kB / 446.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.109, allocations: 7.938 kB / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.1091, allocations: 63.34 kB / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1091, allocations: 0 / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004679/0.1096, allocations: 177.2 kB / 446.8 MB, free: 8.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.1097, allocations: 51.41 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.1098, allocations: 170.2 kB / 447.1 MB, free: 8.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1098, allocations: 29.7 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.1099, allocations: 100.1 kB / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1099, allocations: 23.66 kB / 447.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.1099, allocations: 0 / 447.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.11, allocations: 326.8 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.1101, allocations: 15.98 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.1101, allocations: 37.7 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.896e-05/0.1102, allocations: 31.94 kB / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1102, allocations: 0 / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001592/0.1104, allocations: 101.6 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1104, allocations: 7.938 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1104, allocations: 0 / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1104, allocations: 4 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.1105, allocations: 15.94 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1105, allocations: 0 / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.1106, allocations: 16.02 kB / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1106, allocations: 4 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.088e-05/0.1107, allocations: 121.8 kB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.1107, allocations: 15.95 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.1107, allocations: 16.7 kB / 447.9 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1108, allocations: 3.938 kB / 447.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1108, allocations: 0 / 447.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1108, allocations: 0 / 447.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.1111, allocations: 399.3 kB / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1112, allocations: 0 / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.1112, allocations: 8 kB / 448.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1112, allocations: 0 / 448.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1112, allocations: 4.359 kB / 448.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1112, allocations: 4 kB / 448.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1112, allocations: 7.938 kB / 448.3 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.1114, allocations: 208.3 kB / 448.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.1115, allocations: 84.92 kB / 448.6 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.1115, allocations: 8 kB / 448.6 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.1116, allocations: 7.984 kB / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1116, allocations: 0 / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1117, allocations: 7.984 kB / 448.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1118, allocations: 135.9 kB / 448.8 MB, free: 6.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1118, allocations: 4 kB / 448.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.112, allocations: 24 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001322/0.1134, allocations: 1.094 MB / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.1135, allocations: 59.91 kB / 449.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1135, allocations: 0 / 449.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.384e-05/0.1136, allocations: 27.98 kB / 450 MB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.1139, allocations: 28.05 kB / 450 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.115, allocations: 0.6833 MB / 450.7 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1153, allocations: 0.7002 MB / 451.4 MB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.116e-05/0.1153, allocations: 16.86 kB / 451.4 MB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.1154, allocations: 31.42 kB / 451.4 MB, free: 3.953 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1154, allocations: 0 / 451.4 MB, free: 3.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.1337, allocations: 2.874 MB / 454.3 MB, free: 1.082 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/0.134, allocations: 217.5 kB / 454.5 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.836, allocations: 0 / 454.5 MB, free: 0.8438 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat