Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",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.002272/0.002278, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.289/2.289, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 93.56 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3047/0.3047, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.429e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4228, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.5926, allocations: 86.97 MB / 0.5509 GB, free: 12.24 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.593, allocations: 75.95 kB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02462/0.6177, allocations: 5.332 MB / 0.5562 GB, free: 6.836 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6177, allocations: 0 / 0.5562 GB, free: 6.836 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.6177, allocations: 7.938 kB / 0.5562 GB, free: 6.828 MB / 395.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.0005914/0.6184, allocations: 398.9 kB / 0.5566 GB, free: 6.395 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.6184, allocations: 8.031 kB / 0.5566 GB, free: 6.387 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.6185, allocations: 7.906 kB / 0.5566 GB, free: 6.379 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.6189, allocations: 225.5 kB / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.6189, allocations: 4 kB / 0.5568 GB, free: 6.117 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.619, allocations: 0 / 0.5568 GB, free: 6.117 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.889e-05/0.6191, allocations: 19.98 kB / 0.5568 GB, free: 6.098 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.6192, allocations: 53.69 kB / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6193, allocations: 0 / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.6193, allocations: 0 / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6193, allocations: 0 / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.6197, allocations: 269.5 kB / 0.5572 GB, free: 5.738 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.6199, allocations: 46.64 kB / 0.5572 GB, free: 5.684 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.62, allocations: 24.97 kB / 0.5572 GB, free: 5.656 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.62, allocations: 0 / 0.5572 GB, free: 5.656 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.6202, allocations: 67.41 kB / 0.5573 GB, free: 5.578 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.6202, allocations: 0 / 0.5573 GB, free: 5.578 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005908/0.6208, allocations: 153.1 kB / 0.5574 GB, free: 5.422 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.6209, allocations: 55.41 kB / 0.5575 GB, free: 5.355 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.6212, allocations: 170.8 kB / 0.5577 GB, free: 5.184 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.6212, allocations: 29.7 kB / 0.5577 GB, free: 5.148 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.6213, allocations: 162.6 kB / 0.5578 GB, free: 4.988 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.6213, allocations: 23.7 kB / 0.5579 GB, free: 4.965 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.6214, allocations: 0 / 0.5579 GB, free: 4.965 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6215, allocations: 310.8 kB / 0.5582 GB, free: 4.652 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.6216, allocations: 20 kB / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.687e-05/0.6217, allocations: 41.58 kB / 0.5582 GB, free: 4.586 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.367e-05/0.6217, allocations: 16 kB / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6218, allocations: 4 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002142/0.622, allocations: 85.58 kB / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.622, allocations: 4 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.622, allocations: 4.156 kB / 0.5583 GB, free: 4.469 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.6221, allocations: 0 / 0.5583 GB, free: 4.469 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.6222, allocations: 19.92 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.6223, allocations: 3.984 kB / 0.5583 GB, free: 4.445 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.784e-05/0.6224, allocations: 4 kB / 0.5583 GB, free: 4.441 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.6224, allocations: 11.95 kB / 0.5584 GB, free: 4.43 MB / 395.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 () * 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 9.707e-05/0.6225, allocations: 105 kB / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002305/0.6227, allocations: 93.56 kB / 0.5585 GB, free: 4.223 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.6228, allocations: 11.91 kB / 0.5586 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.6231, allocations: 118.1 kB / 0.5587 GB, free: 4.09 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.6231, allocations: 3.984 kB / 0.5587 GB, free: 4.086 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6231, allocations: 3.953 kB / 0.5587 GB, free: 4.082 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6232, allocations: 0 / 0.5587 GB, free: 4.082 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.6238, allocations: 371.9 kB / 0.559 GB, free: 3.672 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6238, allocations: 0 / 0.559 GB, free: 3.672 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.919e-05/0.6239, allocations: 11.98 kB / 0.559 GB, free: 3.66 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.6239, allocations: 4 kB / 0.559 GB, free: 3.656 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.6239, allocations: 0 / 0.559 GB, free: 3.656 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.6239, allocations: 7.891 kB / 0.5591 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6239, allocations: 0 / 0.5591 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.6243, allocations: 214.3 kB / 0.5593 GB, free: 3.414 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/0.6244, allocations: 96.91 kB / 0.5594 GB, free: 3.301 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.6244, allocations: 7.891 kB / 0.5594 GB, free: 3.293 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.6246, allocations: 4.094 kB / 0.5594 GB, free: 3.289 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.6247, allocations: 19.86 kB / 0.5594 GB, free: 3.27 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.6247, allocations: 4 kB / 0.5594 GB, free: 3.266 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.6249, allocations: 139.4 kB / 0.5595 GB, free: 3.129 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6249, allocations: 0 / 0.5595 GB, free: 3.129 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.6253, allocations: 28 kB / 0.5595 GB, free: 3.102 MB / 395.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) * 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.001722/0.627, allocations: 1.096 MB / 0.5606 GB, free: 2.023 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.6273, allocations: 59.86 kB / 0.5607 GB, free: 1.965 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6273, allocations: 64 / 0.5607 GB, free: 1.965 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.407e-05/0.6274, allocations: 31.94 kB / 0.5607 GB, free: 1.934 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.6278, allocations: 28.14 kB / 0.5607 GB, free: 1.906 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.6287, allocations: 248.5 kB / 0.561 GB, free: 1.609 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.629, allocations: 0.708 MB / 0.5617 GB, free: 0.875 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.6291, allocations: 35.48 kB / 0.5617 GB, free: 0.8398 MB / 395.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6292, allocations: 4 kB / 0.5617 GB, free: 0.8359 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.703/3.332, allocations: 2.46 MB / 0.5641 GB, free: 14.38 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat