Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",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.001588/0.001588, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.09/2.09, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.00116/0.00116, allocations: 94.09 kB / 270.9 MB, free: 8.379 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.5348/0.5348, allocations: 43.54 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00053/0.00053, allocations: 20 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.133, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.472/0.6051, allocations: 87.7 MB / 0.5645 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.6054, allocations: 75.97 kB / 0.5646 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02485/0.6303, allocations: 5.456 MB / 0.5699 GB, free: 9.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6303, allocations: 4 kB / 0.5699 GB, free: 9.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.6304, allocations: 0 / 0.5699 GB, free: 9.344 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.0007095/0.6311, allocations: 422.4 kB / 0.5703 GB, free: 8.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.6311, allocations: 12.03 kB / 0.5703 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.6312, allocations: 38.55 kB / 0.5703 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.6313, allocations: 15.25 kB / 0.5703 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.6317, allocations: 211.6 kB / 0.5706 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.6317, allocations: 4 kB / 0.5706 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.6317, allocations: 4 kB / 0.5706 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.632, allocations: 57.61 kB / 0.5706 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.632, allocations: 7.984 kB / 0.5706 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.632, allocations: 0.8438 kB / 0.5706 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.632, allocations: 5.016 kB / 0.5706 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.6321, allocations: 23.92 kB / 0.5706 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.6327, allocations: 288.9 kB / 0.5709 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.633, allocations: 70.61 kB / 0.571 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.633, allocations: 4 kB / 0.571 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.6332, allocations: 63.52 kB / 0.5711 GB, free: 7.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.677e-06/0.6333, allocations: 0 / 0.5711 GB, free: 7.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008563/0.6341, allocations: 189 kB / 0.5712 GB, free: 7.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.6342, allocations: 63.33 kB / 0.5713 GB, free: 7.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.6345, allocations: 176.8 kB / 0.5715 GB, free: 7.527 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.6346, allocations: 33.7 kB / 0.5715 GB, free: 7.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.6346, allocations: 158.6 kB / 0.5716 GB, free: 7.332 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.6347, allocations: 27.64 kB / 0.5717 GB, free: 7.305 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/0.6347, allocations: 4 kB / 0.5717 GB, free: 7.301 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6349, allocations: 314.8 kB / 0.572 GB, free: 6.984 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.737e-05/0.635, allocations: 19.98 kB / 0.572 GB, free: 6.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.6351, allocations: 45.64 kB / 0.572 GB, free: 6.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.6352, allocations: 20 kB / 0.5721 GB, free: 6.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6352, allocations: 3.984 kB / 0.5721 GB, free: 6.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003134/0.6356, allocations: 89.69 kB / 0.5722 GB, free: 6.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.6356, allocations: 4 kB / 0.5722 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6356, allocations: 0 / 0.5722 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.6356, allocations: 4 kB / 0.5722 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.6358, allocations: 23.95 kB / 0.5722 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.6358, allocations: 3.953 kB / 0.5722 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-05/0.6359, allocations: 4 kB / 0.5722 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.636, allocations: 8 kB / 0.5722 GB, free: 6.75 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.0001667/0.6361, allocations: 125.8 kB / 0.5723 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.6362, allocations: 11.81 kB / 0.5723 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.6367, allocations: 119 kB / 0.5724 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6367, allocations: 8 kB / 0.5724 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6367, allocations: 0 / 0.5724 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.6367, allocations: 7.938 kB / 0.5725 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007797/0.6375, allocations: 411.3 kB / 0.5728 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.6375, allocations: 0 / 0.5728 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.769e-05/0.6376, allocations: 8 kB / 0.5729 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.6376, allocations: 0 / 0.5729 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.6377, allocations: 15.92 kB / 0.5729 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.6377, allocations: 8.172 kB / 0.5729 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6377, allocations: 4.031 kB / 0.5729 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.6381, allocations: 221.8 kB / 0.5731 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.6382, allocations: 97 kB / 0.5732 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.6383, allocations: 4.328 kB / 0.5732 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.6384, allocations: 4 kB / 0.5732 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.6385, allocations: 19.98 kB / 0.5732 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.6385, allocations: 4 kB / 0.5732 GB, free: 5.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002188/0.6387, allocations: 148.9 kB / 0.5734 GB, free: 5.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6387, allocations: 4 kB / 0.5734 GB, free: 5.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003753/0.6391, allocations: 31.94 kB / 0.5734 GB, free: 5.402 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.002096/0.6412, allocations: 1.194 MB / 0.5746 GB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.6416, allocations: 71.89 kB / 0.5746 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6416, allocations: 0 / 0.5746 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.6418, allocations: 35.92 kB / 0.5747 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.6422, allocations: 23.92 kB / 0.5747 GB, free: 4.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.6442, allocations: 0.9171 MB / 0.5756 GB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.6446, allocations: 0.716 MB / 0.5763 GB, free: 2.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.6447, allocations: 35.42 kB / 0.5763 GB, free: 2.414 MB / 394.7 MB Notification: Performance of SimCode: time 7.434e-06/0.6448, allocations: 112 / 0.5763 GB, free: 2.414 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.778/3.423, allocations: 2.531 MB / 0.5788 GB, free: 15.89 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat