Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.001782/0.001782, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008248/0.0008248, allocations: 91.66 kB / 267.1 MB, free: 9.289 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.4337/0.4337, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.641e-05, allocations: 4 kB / 425.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1363, allocations: 58.85 MB / 484.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.5956, allocations: 88.61 MB / 0.5594 GB, free: 15.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.5958, allocations: 73.5 kB / 0.5595 GB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01173/0.6076, allocations: 4.251 MB / 0.5637 GB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6076, allocations: 0 / 0.5637 GB, free: 13.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.6077, allocations: 4 kB / 0.5637 GB, free: 13.14 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006706/0.6084, allocations: 456.7 kB / 0.5641 GB, free: 12.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6084, allocations: 12.03 kB / 0.5641 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.6085, allocations: 39.39 kB / 0.5642 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.6085, allocations: 19.25 kB / 0.5642 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.6088, allocations: 223.3 kB / 0.5644 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.6089, allocations: 8.438 kB / 0.5644 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.6089, allocations: 7.375 kB / 0.5644 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.6091, allocations: 103.2 kB / 0.5645 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.6091, allocations: 0 / 0.5645 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.6091, allocations: 10.55 kB / 0.5645 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6091, allocations: 4 kB / 0.5645 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.83e-05/0.6092, allocations: 35.92 kB / 0.5645 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.6098, allocations: 0.5192 MB / 0.5651 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.6101, allocations: 80.23 kB / 0.5651 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.6102, allocations: 34.7 kB / 0.5652 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.6102, allocations: 7.984 kB / 0.5652 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.6104, allocations: 82.81 kB / 0.5652 GB, free: 11.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.6104, allocations: 0 / 0.5652 GB, free: 11.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002411/0.6106, allocations: 105.9 kB / 0.5653 GB, free: 11.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.6107, allocations: 51.41 kB / 0.5654 GB, free: 11.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.6109, allocations: 173 kB / 0.5656 GB, free: 11.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.6109, allocations: 28.95 kB / 0.5656 GB, free: 11.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.611, allocations: 115.3 kB / 0.5657 GB, free: 11.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.611, allocations: 35.92 kB / 0.5657 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.611, allocations: 3.438 kB / 0.5657 GB, free: 11.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.6111, allocations: 329.9 kB / 0.5661 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.865e-05/0.6112, allocations: 20.39 kB / 0.5661 GB, free: 10.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.6112, allocations: 61.89 kB / 0.5661 GB, free: 10.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.511e-05/0.6113, allocations: 33.23 kB / 0.5662 GB, free: 10.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6113, allocations: 0 / 0.5662 GB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001813/0.6115, allocations: 128.4 kB / 0.5663 GB, free: 10.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6115, allocations: 4 kB / 0.5663 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.6116, allocations: 7.953 kB / 0.5663 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.6116, allocations: 0 / 0.5663 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.6117, allocations: 30.47 kB / 0.5663 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.6117, allocations: 1.453 kB / 0.5663 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.6118, allocations: 17.42 kB / 0.5663 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.6118, allocations: 4 kB / 0.5663 GB, free: 10.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete 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 7.645e-05/0.6119, allocations: 112.7 kB / 0.5665 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.6119, allocations: 15.81 kB / 0.5665 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.6121, allocations: 124.5 kB / 0.5666 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6122, allocations: 3.953 kB / 0.5666 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6122, allocations: 0 / 0.5666 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.6122, allocations: 1.641 kB / 0.5666 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.6123, allocations: 211.3 kB / 0.5668 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6124, allocations: 4 kB / 0.5668 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.6124, allocations: 17.11 kB / 0.5668 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6125, allocations: 0 / 0.5668 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.6125, allocations: 5.594 kB / 0.5668 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6125, allocations: 0 / 0.5668 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6125, allocations: 3.953 kB / 0.5668 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.6127, allocations: 173.6 kB / 0.567 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.6128, allocations: 102.2 kB / 0.5671 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.6128, allocations: 1.922 kB / 0.5671 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.6129, allocations: 9.031 kB / 0.5671 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.613, allocations: 14.19 kB / 0.5671 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.613, allocations: 5.203 kB / 0.5671 GB, free: 9.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.6131, allocations: 144.1 kB / 0.5673 GB, free: 9.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6131, allocations: 0 / 0.5673 GB, free: 9.695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.6133, allocations: 32.45 kB / 0.5673 GB, free: 9.672 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.00124/0.6146, allocations: 0.991 MB / 0.5683 GB, free: 8.777 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.6148, allocations: 75.17 kB / 0.5683 GB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6148, allocations: 0 / 0.5683 GB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.94e-05/0.6148, allocations: 34.94 kB / 0.5684 GB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.6151, allocations: 32.17 kB / 0.5684 GB, free: 8.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.6156, allocations: 256 kB / 0.5686 GB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.6158, allocations: 0.7165 MB / 0.5693 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.956e-05/0.6159, allocations: 25.19 kB / 0.5694 GB, free: 7.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.616, allocations: 41.61 kB / 0.5694 GB, free: 7.629 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.616, allocations: 0 / 0.5694 GB, free: 7.629 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.6306, allocations: 3.297 MB / 0.5726 GB, free: 4.363 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.6308, allocations: 179.6 kB / 0.5728 GB, free: 4.145 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.301, allocations: 0 / 0.5728 GB, free: 4.145 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat