Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",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.0007466/0.0007466, allocations: 96.94 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.0009909/0.000991, allocations: 176.7 kB / 16.58 MB, free: 5.684 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.5/1.5, allocations: 205.4 MB / 222.7 MB, free: 5.617 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.3597/0.3597, 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.0005506/0.0005507, allocations: 18.97 kB / 384 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1109, allocations: 58.86 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001924/0.1128, allocations: 1.359 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.114, allocations: 0.7227 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.1141, allocations: 3.938 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1144, allocations: 51.86 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.1146, allocations: 47.83 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1149, allocations: 75.83 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.115, allocations: 87.7 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.1151, allocations: 11.92 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.338e-05/0.1152, allocations: 35.84 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.1153, allocations: 31.84 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1153, allocations: 4 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.58e-05/0.1154, allocations: 23.92 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.1154, allocations: 23.92 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.1155, allocations: 41.64 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1156, allocations: 84.09 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1156, allocations: 7.984 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1156, allocations: 0 / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1157, 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004757/0.1161, allocations: 418.7 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1162, allocations: 8.031 kB / 445.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.1162, allocations: 30.56 kB / 445.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.1163, allocations: 15.81 kB / 445.9 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1165, allocations: 210.8 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1165, allocations: 7.938 kB / 446.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1165, allocations: 4 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1167, allocations: 45.67 kB / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1167, allocations: 0 / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1167, allocations: 3.953 kB / 446.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1167, allocations: 4 kB / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.573e-05/0.1168, allocations: 15.98 kB / 446.2 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.117, allocations: 197.5 kB / 446.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1171, allocations: 54.56 kB / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.1172, allocations: 24.83 kB / 446.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1172, allocations: 0 / 446.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.1174, allocations: 67.39 kB / 446.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.1175, allocations: 4 kB / 446.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003025/0.1178, allocations: 101.5 kB / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1178, allocations: 51.41 kB / 446.7 MB, free: 8.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.1181, allocations: 258.5 kB / 447 MB, free: 8.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1181, allocations: 25.7 kB / 447 MB, free: 8.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.1182, allocations: 112.1 kB / 447.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.1182, allocations: 19.8 kB / 447.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.1182, allocations: 0 / 447.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1184, allocations: 326.8 kB / 447.4 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.1184, allocations: 16 kB / 447.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.1185, allocations: 29.69 kB / 447.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.1186, allocations: 19.98 kB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1186, allocations: 4 kB / 447.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001612/0.1187, allocations: 81.44 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1188, allocations: 4 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1188, allocations: 4 kB / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1188, allocations: 0 / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.1189, allocations: 12.03 kB / 447.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1189, allocations: 3.953 kB / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.1189, allocations: 11.92 kB / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.119, allocations: 4 kB / 447.6 MB, free: 7.918 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 (7): * Single equations (assignments): 7 * 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.0001293/0.1191, allocations: 137.8 kB / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.1191, allocations: 19.75 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.1192, allocations: 17 kB / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1192, allocations: 3.984 kB / 447.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1192, allocations: 4 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1192, allocations: 3.953 kB / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1194, allocations: 189.6 kB / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1194, allocations: 3.984 kB / 448 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.1194, allocations: 8 kB / 448 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1194, allocations: 0 / 448 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1195, allocations: 4 kB / 448 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1195, allocations: 0 / 448 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1195, allocations: 320 / 448 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.1197, allocations: 116.9 kB / 448.1 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.1197, allocations: 89.02 kB / 448.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1198, allocations: 3.984 kB / 448.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.1198, allocations: 7.938 kB / 448.2 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.1199, allocations: 7.938 kB / 448.2 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1199, allocations: 0 / 448.2 MB, free: 7.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.1201, allocations: 208 kB / 448.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1201, allocations: 0 / 448.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1203, allocations: 15.91 kB / 448.5 MB, free: 7 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001498/0.1218, allocations: 0.9469 MB / 449.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.122, allocations: 39.92 kB / 449.4 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.122, allocations: 3.938 kB / 449.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.371e-05/0.1221, allocations: 24.05 kB / 449.5 MB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.1224, allocations: 23.98 kB / 449.5 MB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.1239, allocations: 0.8154 MB / 450.3 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.1245, allocations: 0.716 MB / 451 MB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.97e-05/0.1246, allocations: 16.53 kB / 451 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.214e-05/0.1246, allocations: 39.42 kB / 451.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1247, allocations: 0 / 451.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.1397, allocations: 2.957 MB / 454 MB, free: 1.355 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.14, allocations: 221.4 kB / 454.3 MB, free: 1.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.786, allocations: 7.938 kB / 454.3 MB, free: 1.105 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat