Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",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.0008308/0.0008309, 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.0009338/0.0009338, allocations: 174.2 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.582/1.582, allocations: 205.4 MB / 222.8 MB, free: 5.496 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.3321/0.3321, allocations: 43.55 MB / 314.6 MB, free: 8.824 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.000538/0.0005381, allocations: 27.98 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1137, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.001776/0.1155, allocations: 1.391 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1165, allocations: 0.7422 MB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.1166, allocations: 4 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.1168, allocations: 43.81 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.1169, allocations: 47.81 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1172, allocations: 79.78 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1173, allocations: 83.75 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.078e-05/0.1174, allocations: 12.22 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.1174, allocations: 35.8 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.1175, allocations: 35.83 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1175, allocations: 4 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.1176, allocations: 35.94 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.1177, allocations: 19.91 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.1177, allocations: 41.64 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1179, allocations: 92.03 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1179, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1179, allocations: 4 kB / 445.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.1179, allocations: 0 / 445.6 MB, free: 10.26 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.0004585/0.1183, allocations: 406.8 kB / 445.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.1184, allocations: 8.031 kB / 446 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.1184, allocations: 34.56 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.1185, allocations: 19.75 kB / 446 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.1187, allocations: 210.8 kB / 446.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1187, allocations: 8 kB / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1187, allocations: 4 kB / 446.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.1188, allocations: 57.61 kB / 446.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1189, allocations: 0 / 446.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1189, allocations: 3.953 kB / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1189, allocations: 0 / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.591e-05/0.1189, allocations: 19.98 kB / 446.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.1193, allocations: 288.8 kB / 446.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1194, allocations: 58.62 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.1195, allocations: 20.84 kB / 446.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1195, allocations: 7.938 kB / 446.7 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.1197, allocations: 71.34 kB / 446.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1197, allocations: 4 kB / 446.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004662/0.1202, allocations: 173.2 kB / 446.9 MB, free: 8.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1202, allocations: 55.41 kB / 447 MB, free: 8.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1204, allocations: 222.6 kB / 447.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1205, allocations: 29.7 kB / 447.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.1205, allocations: 104.1 kB / 447.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.1206, allocations: 23.66 kB / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.1206, allocations: 0 / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1207, allocations: 334.8 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.1207, allocations: 16 kB / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.1208, allocations: 41.64 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.593e-05/0.1209, allocations: 28.06 kB / 447.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1209, allocations: 0 / 447.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001749/0.1211, allocations: 101.5 kB / 447.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1211, allocations: 4 kB / 447.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1211, allocations: 8.031 kB / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1211, allocations: 0 / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.1212, allocations: 15.98 kB / 447.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1212, allocations: 0 / 447.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.1213, allocations: 8 kB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1213, allocations: 4 kB / 447.9 MB, free: 7.68 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.266e-05/0.1214, allocations: 129.8 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.1214, allocations: 19.94 kB / 448 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.1214, allocations: 25.39 kB / 448.1 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1215, allocations: 3.938 kB / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1215, allocations: 0 / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1215, allocations: 0 / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.1219, allocations: 395.3 kB / 448.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1219, allocations: 4 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.1219, allocations: 11.94 kB / 448.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1219, allocations: 3.984 kB / 448.5 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1219, allocations: 4.031 kB / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1219, allocations: 0 / 448.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.122, allocations: 4 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.1222, allocations: 212.1 kB / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.1222, allocations: 85.02 kB / 448.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.1222, allocations: 7.984 kB / 448.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.1223, allocations: 8.375 kB / 448.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1224, allocations: 7.984 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1224, allocations: 0 / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1225, allocations: 176.2 kB / 449 MB, free: 6.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1225, allocations: 0 / 449 MB, free: 6.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1228, allocations: 31.89 kB / 449 MB, free: 6.469 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.001267/0.1241, allocations: 1.083 MB / 450.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1242, allocations: 63.89 kB / 450.1 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1242, allocations: 4 kB / 450.1 MB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.717e-05/0.1243, allocations: 27.94 kB / 450.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.1247, allocations: 35.97 kB / 450.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1259, allocations: 0.7891 MB / 451 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1262, allocations: 0.7122 MB / 451.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.697e-05/0.1263, allocations: 12.88 kB / 451.7 MB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.1263, allocations: 35.42 kB / 451.8 MB, free: 3.641 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1263, allocations: 0 / 451.8 MB, free: 3.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.1398, allocations: 3.092 MB / 454.8 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.1401, allocations: 217.5 kB / 455.1 MB, free: 320 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.789, allocations: 0 / 455.1 MB, free: 320 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat