Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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.0008178/0.0008179, 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.0009277/0.0009277, allocations: 174.2 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.486/1.486, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.3539/0.3539, allocations: 43.54 MB / 314.6 MB, free: 8.828 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.0005308/0.0005309, allocations: 20 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1186, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001873/0.1205, allocations: 1.356 MB / 444.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1217, allocations: 0.7266 MB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.1217, allocations: 3.938 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.1221, allocations: 47.86 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1223, allocations: 51.81 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.1225, allocations: 75.84 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.1227, allocations: 79.7 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.1227, allocations: 3.984 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.644e-05/0.1228, allocations: 43.83 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.1229, allocations: 27.86 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1229, allocations: 7.938 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.123, allocations: 27.92 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.123, allocations: 23.92 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.1231, allocations: 37.64 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1232, allocations: 92.08 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1233, allocations: 0 / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1233, allocations: 0 / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1233, allocations: 0 / 445.5 MB, free: 10.33 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.0005223/0.1238, allocations: 426.6 kB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1239, allocations: 12.02 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.1239, allocations: 30.56 kB / 445.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.1239, allocations: 15.81 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1242, allocations: 206.9 kB / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1242, allocations: 3.938 kB / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1242, allocations: 4 kB / 446.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1243, allocations: 49.67 kB / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1244, allocations: 0 / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1244, allocations: 3.953 kB / 446.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1244, allocations: 0 / 446.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.603e-05/0.1244, allocations: 12 kB / 446.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.1246, allocations: 193.6 kB / 446.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.1248, allocations: 62.55 kB / 446.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.1248, allocations: 16.86 kB / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1249, allocations: 0 / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.125, allocations: 63.39 kB / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1251, allocations: 0 / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002489/0.1253, allocations: 105.5 kB / 446.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.1254, allocations: 59.34 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1256, allocations: 258.5 kB / 447 MB, free: 8.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1256, allocations: 25.7 kB / 447 MB, free: 8.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.1257, allocations: 112.1 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.1257, allocations: 11.81 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1257, allocations: 7.938 kB / 447.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1258, allocations: 326.8 kB / 447.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.1259, allocations: 15.98 kB / 447.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-05/0.1259, allocations: 29.7 kB / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.126, allocations: 12 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.126, allocations: 0 / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001342/0.1261, allocations: 85.44 kB / 447.6 MB, free: 7.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1262, allocations: 4 kB / 447.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1262, allocations: 4.031 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1262, allocations: 7.984 kB / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.1263, allocations: 15.92 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1263, allocations: 3.953 kB / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.1263, allocations: 11.94 kB / 447.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1263, allocations: 0 / 447.6 MB, free: 7.938 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 9.185e-05/0.1264, allocations: 133.8 kB / 447.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.1265, allocations: 19.75 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.1265, allocations: 20.98 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1265, allocations: 4 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1265, allocations: 0 / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1265, allocations: 3.953 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.1267, allocations: 197.6 kB / 448 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1267, allocations: 0 / 448 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.1267, allocations: 4 kB / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1267, allocations: 0 / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1267, allocations: 0 / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/0.1267, allocations: 4 kB / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1268, allocations: 320 / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1269, allocations: 120.9 kB / 448.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.127, allocations: 89 kB / 448.2 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.127, allocations: 0 / 448.2 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.1271, allocations: 4 kB / 448.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.1271, allocations: 4 kB / 448.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1271, allocations: 11.92 kB / 448.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.1273, allocations: 196 kB / 448.4 MB, free: 7.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1273, allocations: 0 / 448.4 MB, free: 7.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000204/0.1275, allocations: 27.91 kB / 448.5 MB, free: 7.02 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.001282/0.1288, allocations: 0.9465 MB / 449.4 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.129, allocations: 43.91 kB / 449.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.129, allocations: 8.062 kB / 449.5 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.129, allocations: 12 kB / 449.5 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1293, allocations: 23.97 kB / 449.5 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1304, allocations: 0.8232 MB / 450.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1306, allocations: 0.7121 MB / 451 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.1307, allocations: 16.53 kB / 451 MB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.1308, allocations: 43.42 kB / 451.1 MB, free: 4.316 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1308, allocations: 0 / 451.1 MB, free: 4.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.1439, allocations: 2.955 MB / 454 MB, free: 1.367 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.1442, allocations: 225.4 kB / 454.3 MB, free: 1.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/1.774, allocations: 7.938 kB / 454.3 MB, free: 1.113 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat