Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001526, allocations: 185.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 85.98 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.54/0.54, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005019, allocations: 12 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1439, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5292/0.6732, allocations: 87.57 MB / 0.5643 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004232/0.6737, allocations: 86.31 kB / 0.5644 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04563/0.7194, allocations: 6.512 MB / 0.5708 GB, free: 8.426 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.19e-06/0.7194, allocations: 0 / 0.5708 GB, free: 8.426 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.065e-05/0.7195, allocations: 8.531 kB / 0.5708 GB, free: 8.418 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002233/0.7218, allocations: 0.7259 MB / 0.5715 GB, free: 7.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/0.7219, allocations: 8.031 kB / 0.5715 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.29e-05/0.722, allocations: 34.56 kB / 0.5715 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.7223, allocations: 54.81 kB / 0.5716 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.7243, allocations: 487 kB / 0.5721 GB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.7244, allocations: 3.281 kB / 0.5721 GB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.7244, allocations: 8 kB / 0.5721 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.7249, allocations: 91.3 kB / 0.5722 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.7249, allocations: 0 / 0.5722 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.725, allocations: 1.031 kB / 0.5722 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.725, allocations: 4 kB / 0.5722 GB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.7253, allocations: 31.97 kB / 0.5722 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009704/0.7263, allocations: 382.3 kB / 0.5726 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.727, allocations: 113.3 kB / 0.5727 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.7271, allocations: 0 / 0.5727 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/0.7276, allocations: 121 kB / 0.5728 GB, free: 6.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 3.918e-06/0.7276, allocations: 0 / 0.5728 GB, free: 6.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001344/0.7289, allocations: 201 kB / 0.573 GB, free: 5.988 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.7291, allocations: 77.11 kB / 0.5731 GB, free: 5.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/0.7326, allocations: 0.9395 MB / 0.574 GB, free: 4.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/0.7327, allocations: 33.7 kB / 0.574 GB, free: 4.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.733, allocations: 242.6 kB / 0.5742 GB, free: 4.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.7332, allocations: 35.55 kB / 0.5743 GB, free: 4.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.7332, allocations: 4 kB / 0.5743 GB, free: 4.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7334, allocations: 318.8 kB / 0.5746 GB, free: 4.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.7337, allocations: 27.98 kB / 0.5746 GB, free: 4.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.734, allocations: 63.34 kB / 0.5747 GB, free: 4.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.7343, allocations: 39.98 kB / 0.5747 GB, free: 4.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.7343, allocations: 0 / 0.5747 GB, free: 4.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007153/0.7351, allocations: 121.6 kB / 0.5748 GB, free: 4.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.7351, allocations: 4 kB / 0.5748 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7351, allocations: 0 / 0.5748 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/0.7352, allocations: 4 kB / 0.5748 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.7355, allocations: 31.86 kB / 0.5749 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.7355, allocations: 0.75 kB / 0.5749 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.736, allocations: 19.91 kB / 0.5749 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.7361, allocations: 4 kB / 0.5749 GB, free: 3.98 MB / 394.7 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0006167/0.7367, allocations: 233.6 kB / 0.5751 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.737, allocations: 51.44 kB / 0.5751 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.738, allocations: 206.1 kB / 0.5753 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.7381, allocations: 4.125 kB / 0.5753 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.7381, allocations: 4 kB / 0.5754 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.7382, allocations: 7.922 kB / 0.5754 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009669/0.7391, allocations: 393.3 kB / 0.5757 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.7392, allocations: 0 / 0.5757 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.7394, allocations: 11.94 kB / 0.5757 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.7394, allocations: 0 / 0.5757 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.7394, allocations: 4 kB / 0.5758 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.7395, allocations: 0 / 0.5758 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.7395, allocations: 3.984 kB / 0.5758 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.7406, allocations: 238.9 kB / 0.576 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/0.7413, allocations: 188.4 kB / 0.5762 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.7414, allocations: 8 kB / 0.5762 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.7418, allocations: 11.98 kB / 0.5762 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/0.7419, allocations: 7.984 kB / 0.5762 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.7419, allocations: 8 kB / 0.5762 GB, free: 2.516 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002542/0.7445, allocations: 0.7525 MB / 0.5769 GB, free: 1.766 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.7446, allocations: 4 kB / 0.5769 GB, free: 1.762 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009151/0.7455, allocations: 83.89 kB / 0.577 GB, free: 1.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.003477/0.7491, allocations: 1.151 MB / 0.5781 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000756/0.7499, allocations: 83.84 kB / 0.5782 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/0.7499, allocations: 4 kB / 0.5782 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.7503, allocations: 43.97 kB / 0.5783 GB, free: 476 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.7513, allocations: 58.83 kB / 0.5783 GB, free: 416 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.7628, allocations: 3.415 MB / 0.5817 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/0.7638, allocations: 0.8585 MB / 0.5825 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.7645, allocations: 163.4 kB / 0.5827 GB, free: 11.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7645, allocations: 0 / 0.5827 GB, free: 11.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.026/3.791, allocations: 8.438 MB / 0.5909 GB, free: 3.426 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat