Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",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.001506/0.001506, allocations: 185.9 kB / 16.41 MB, free: 5.723 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.944/1.944, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001139/0.001139, allocations: 89.55 kB / 270.9 MB, free: 8.387 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.5389/0.5389, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.5928, allocations: 87.67 MB / 0.5645 GB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.5932, allocations: 75.95 kB / 0.5645 GB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02477/0.618, allocations: 5.288 MB / 0.5697 GB, free: 9.406 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.618, allocations: 0 / 0.5697 GB, free: 9.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.6181, allocations: 0 / 0.5697 GB, free: 9.406 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007408/0.6188, allocations: 434.4 kB / 0.5701 GB, free: 8.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6189, allocations: 12.03 kB / 0.5701 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.6189, allocations: 30.56 kB / 0.5702 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.619, allocations: 11.34 kB / 0.5702 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.6194, allocations: 217.9 kB / 0.5704 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.6194, allocations: 0 / 0.5704 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.6195, allocations: 4 kB / 0.5704 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.6197, allocations: 58.41 kB / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.6197, allocations: 0 / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6197, allocations: 0 / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.6197, allocations: 1.031 kB / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.6199, allocations: 31.86 kB / 0.5705 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.6204, allocations: 296.8 kB / 0.5707 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.6207, allocations: 58.67 kB / 0.5708 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.6207, allocations: 4 kB / 0.5708 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.621, allocations: 71.44 kB / 0.5709 GB, free: 8.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.889e-06/0.621, allocations: 4 kB / 0.5709 GB, free: 8.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008739/0.6219, allocations: 177.2 kB / 0.571 GB, free: 7.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.622, allocations: 55.39 kB / 0.5711 GB, free: 7.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.6223, allocations: 169.4 kB / 0.5713 GB, free: 7.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.6223, allocations: 25.7 kB / 0.5713 GB, free: 7.586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.6224, allocations: 162.6 kB / 0.5714 GB, free: 7.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.6225, allocations: 27.62 kB / 0.5715 GB, free: 7.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.6225, allocations: 8 kB / 0.5715 GB, free: 7.391 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.6227, allocations: 314.8 kB / 0.5718 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.6228, allocations: 23.98 kB / 0.5718 GB, free: 7.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.6229, allocations: 34.45 kB / 0.5718 GB, free: 7.012 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.623, allocations: 20 kB / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.6231, allocations: 0 / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003132/0.6234, allocations: 101.5 kB / 0.5719 GB, free: 6.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6234, allocations: 4 kB / 0.5719 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6235, allocations: 8.812 kB / 0.572 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6235, allocations: 0 / 0.572 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.6236, allocations: 19.92 kB / 0.572 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.6237, allocations: 4.141 kB / 0.572 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.974e-05/0.6238, allocations: 4 kB / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.6238, allocations: 11.94 kB / 0.572 GB, free: 6.836 MB / 394.7 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.0001539/0.624, allocations: 125.8 kB / 0.5721 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.624, allocations: 7.906 kB / 0.5721 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.6244, allocations: 126.5 kB / 0.5722 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.6244, allocations: 4 kB / 0.5722 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6245, allocations: 0 / 0.5722 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.6245, allocations: 3.953 kB / 0.5722 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/0.6252, allocations: 411.2 kB / 0.5726 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6252, allocations: 0 / 0.5726 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.6253, allocations: 11.98 kB / 0.5727 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.6253, allocations: 0 / 0.5727 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.6254, allocations: 11.97 kB / 0.5727 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.6254, allocations: 3.953 kB / 0.5727 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6254, allocations: 0 / 0.5727 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.6258, allocations: 218.3 kB / 0.5729 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.6259, allocations: 93 kB / 0.573 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.626, allocations: 11.95 kB / 0.573 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6261, allocations: 8 kB / 0.573 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.6261, allocations: 11.92 kB / 0.573 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.6262, allocations: 0 / 0.573 GB, free: 5.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001986/0.6264, allocations: 144.8 kB / 0.5731 GB, free: 5.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6264, allocations: 0 / 0.5731 GB, free: 5.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003847/0.6268, allocations: 31.94 kB / 0.5732 GB, free: 5.516 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: 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 (9): * Single equations (assignments): 7 * 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.002058/0.6289, allocations: 1.204 MB / 0.5743 GB, free: 4.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.6292, allocations: 63.91 kB / 0.5744 GB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6292, allocations: 0 / 0.5744 GB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.6294, allocations: 31.98 kB / 0.5744 GB, free: 4.293 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.6298, allocations: 19.98 kB / 0.5745 GB, free: 4.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.6317, allocations: 0.9059 MB / 0.5753 GB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.6321, allocations: 0.7082 MB / 0.576 GB, free: 2.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.6322, allocations: 35.42 kB / 0.5761 GB, free: 2.539 MB / 394.7 MB Notification: Performance of SimCode: time 3.937e-06/0.6322, allocations: 112 / 0.5761 GB, free: 2.539 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.755/3.387, allocations: 2.46 MB / 0.5785 GB, free: 88 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat