Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.0008219/0.000822, allocations: 88.19 kB / 15.7 MB, free: 460 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.001133/0.001133, allocations: 175.8 kB / 16.58 MB, free: 6.84 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.429/1.429, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.3198/0.3198, allocations: 43.55 MB / 314.6 MB, free: 9.027 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.000499/0.0004991, allocations: 16 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 58.87 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00176/0.1043, allocations: 1.523 MB / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1054, allocations: 0.8279 MB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.1054, allocations: 0 / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.1058, allocations: 147.7 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.106, allocations: 127.6 kB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1063, allocations: 127.8 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.1065, allocations: 191.3 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.1066, allocations: 21.53 kB / 445.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1068, allocations: 91.61 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1069, allocations: 103.6 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1069, allocations: 4 kB / 446 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.107, allocations: 39.91 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.1071, allocations: 43.83 kB / 446.1 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.1071, allocations: 57.56 kB / 446.2 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1073, allocations: 140 kB / 446.3 MB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1073, allocations: 0 / 446.3 MB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1073, allocations: 4 kB / 446.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1073, allocations: 0 / 446.3 MB, free: 9.711 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000534/0.1078, allocations: 0.4903 MB / 446.8 MB, free: 9.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1079, allocations: 8.031 kB / 446.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.1079, allocations: 34.56 kB / 446.9 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.108, allocations: 23.72 kB / 446.9 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1082, allocations: 250.5 kB / 447.1 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1083, allocations: 7.984 kB / 447.1 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.1083, allocations: 12 kB / 447.1 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1085, allocations: 95.3 kB / 447.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1085, allocations: 4 kB / 447.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1085, allocations: 3.953 kB / 447.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1085, allocations: 4 kB / 447.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1086, allocations: 39.91 kB / 447.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.1091, allocations: 444.9 kB / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.1093, allocations: 109.3 kB / 447.8 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/0.1094, allocations: 53.64 kB / 447.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1095, allocations: 4 kB / 447.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.1097, allocations: 109 kB / 448 MB, free: 7.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.1097, allocations: 0 / 448 MB, free: 7.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007156/0.1104, allocations: 360 kB / 448.3 MB, free: 7.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.1105, allocations: 81.11 kB / 448.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.1108, allocations: 351 kB / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1108, allocations: 33.7 kB / 448.8 MB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.1109, allocations: 136.4 kB / 448.9 MB, free: 6.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.1109, allocations: 47.36 kB / 449 MB, free: 6.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/0.1109, allocations: 0 / 449 MB, free: 6.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.111, allocations: 342.8 kB / 449.3 MB, free: 6.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.1111, allocations: 43.94 kB / 449.4 MB, free: 6.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.521e-05/0.1112, allocations: 71.41 kB / 449.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.587e-05/0.1113, allocations: 40 kB / 449.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1113, allocations: 4 kB / 449.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002703/0.1116, allocations: 185.2 kB / 449.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1116, allocations: 4 kB / 449.6 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1116, allocations: 4 kB / 449.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1117, allocations: 0 / 449.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1118, allocations: 35.92 kB / 449.7 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1118, allocations: 3.938 kB / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.1119, allocations: 11.98 kB / 449.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1119, allocations: 8 kB / 449.7 MB, free: 6.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001156/0.112, allocations: 161.8 kB / 449.9 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.1121, allocations: 31.61 kB / 449.9 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.939e-05/0.1121, allocations: 33.73 kB / 449.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1121, allocations: 0 / 449.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1121, allocations: 0.75 kB / 449.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1122, allocations: 7.984 kB / 449.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006143/0.1128, allocations: 0.6128 MB / 450.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1128, allocations: 0 / 450.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.1128, allocations: 23.92 kB / 450.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1128, allocations: 0 / 450.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1129, allocations: 12 kB / 450.6 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1129, allocations: 4 kB / 450.6 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1129, allocations: 3.953 kB / 450.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.1132, allocations: 352.3 kB / 450.9 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.1133, allocations: 104.7 kB / 451 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1133, allocations: 11.94 kB / 451.1 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.1134, allocations: 7.984 kB / 451.1 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.1135, allocations: 19.94 kB / 451.1 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.1135, allocations: 12 kB / 451.1 MB, free: 4.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.1137, allocations: 261.9 kB / 451.4 MB, free: 4.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1137, allocations: 0 / 451.4 MB, free: 4.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.114, allocations: 39.98 kB / 451.4 MB, free: 4.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001366/0.1154, allocations: 1.257 MB / 452.6 MB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1157, allocations: 111.9 kB / 452.8 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1157, allocations: 0 / 452.8 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1158, allocations: 63.91 kB / 452.8 MB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.1162, allocations: 52.8 kB / 452.9 MB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.118, allocations: 1.322 MB / 454.2 MB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1183, allocations: 0.7556 MB / 454.9 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.513e-05/0.1183, allocations: 37.91 kB / 455 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.1184, allocations: 71.41 kB / 455.1 MB, free: 0.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1185, allocations: 4 kB / 455.1 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.184/0.3024, allocations: 4.819 MB / 459.9 MB, free: 45.1 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001247/0.3026, allocations: 225.6 kB / 460.1 MB, free: 44.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.026, allocations: 0 / 460.1 MB, free: 44.85 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat