Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.0008105/0.0008105, allocations: 97.91 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007631/0.0007633, allocations: 182.3 kB / 17.89 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.2 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2002/0.2002, allocations: 44.23 MB / 337.2 MB, free: 2.559 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 12 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1336, allocations: 61.93 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002252/0.1359, allocations: 1.394 MB / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1373, allocations: 0.7919 MB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.345e-05/0.1373, allocations: 3.938 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.1376, allocations: 27.91 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1378, allocations: 43.83 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1381, allocations: 99.52 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1383, allocations: 83.75 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1384, allocations: 8.219 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.1385, allocations: 39.73 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.1386, allocations: 31.84 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1386, allocations: 0 / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.1387, allocations: 35.98 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.1388, allocations: 15.92 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.1388, allocations: 45.62 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.139, allocations: 80.09 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.139, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.139, allocations: 4 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.139, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.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.0005578/0.1396, allocations: 383 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1396, allocations: 12.03 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.1397, allocations: 34.5 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.1397, allocations: 7.906 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.14, allocations: 203.4 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.14, allocations: 4 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.14, allocations: 3.953 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1402, allocations: 53.67 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.1402, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1402, allocations: 7.938 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1402, allocations: 0 / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.1403, allocations: 15.98 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.1407, allocations: 300.8 kB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.1409, allocations: 58.67 kB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.1409, allocations: 16.86 kB / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1409, allocations: 0 / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.1411, allocations: 75.33 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1411, allocations: 0 / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005386/0.1417, allocations: 169.2 kB / 475.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1417, allocations: 55.41 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1419, allocations: 160.3 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1419, allocations: 25.7 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.142, allocations: 100.1 kB / 476 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.142, allocations: 23.66 kB / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.142, allocations: 8 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1422, allocations: 322.8 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.1422, allocations: 23.98 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.1423, allocations: 33.7 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.871e-05/0.1424, allocations: 20 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1424, allocations: 0 / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001757/0.1426, allocations: 109.5 kB / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1426, allocations: 8 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1426, allocations: 0 / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1426, allocations: 0 / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.1427, allocations: 16 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1427, allocations: 3.984 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.1428, allocations: 0 / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1428, allocations: 4 kB / 476.6 MB, free: 8.43 MB / 350.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 0.0001045/0.1429, allocations: 134.2 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.1429, allocations: 11.91 kB / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.143, allocations: 16.7 kB / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.143, allocations: 0 / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.143, allocations: 0 / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.143, allocations: 4 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.1434, allocations: 391.3 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1434, allocations: 4.188 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.1435, allocations: 8 kB / 477.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1435, allocations: 7.969 kB / 477.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1435, allocations: 7.984 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1435, allocations: 0 / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1435, allocations: 4 kB / 477.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1437, allocations: 196.2 kB / 477.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.1438, allocations: 93 kB / 477.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1438, allocations: 4 kB / 477.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1439, allocations: 7.984 kB / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.144, allocations: 4 kB / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.144, allocations: 8 kB / 477.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.336e-05/0.1441, allocations: 126 kB / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1444, allocations: 24 kB / 477.6 MB, free: 7.293 MB / 350.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.001456/0.1458, allocations: 1.092 MB / 478.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.146, allocations: 63.95 kB / 478.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.146, allocations: 7.938 kB / 478.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.1461, allocations: 23.98 kB / 478.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1464, allocations: 23.98 kB / 478.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1475, allocations: 0.6474 MB / 479.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.148, allocations: 0.7084 MB / 480.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.494e-05/0.1481, allocations: 17.17 kB / 480.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.1481, allocations: 35.36 kB / 480.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1481, allocations: 3.938 kB / 480.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.1696, allocations: 2.81 MB / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003302/0.17, allocations: 215.5 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.037, allocations: 0 / 483.2 MB, free: 1.828 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat