Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",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.002702/0.002703, allocations: 177.8 kB / 8.36 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.124/2.124, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001178/0.001178, allocations: 83.61 kB / 262.1 MB, free: 13.86 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.2966/0.2966, allocations: 43.5 MB / 353.6 MB, free: 2.246 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 7.169e-05/7.172e-05, allocations: 8.219 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4173, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.583, allocations: 86.97 MB / 0.5509 GB, free: 12.21 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/0.5834, allocations: 71.97 kB / 0.551 GB, free: 12.14 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03772/0.6212, allocations: 5.817 MB / 0.5567 GB, free: 6.328 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6212, allocations: 4 kB / 0.5567 GB, free: 6.324 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.493e-05/0.6213, allocations: 8 kB / 0.5567 GB, free: 6.316 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008538/0.6221, allocations: 418.6 kB / 0.5571 GB, free: 5.863 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001144/0.6223, allocations: 12.03 kB / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.6225, allocations: 7.906 kB / 0.5571 GB, free: 5.844 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.6236, allocations: 234.5 kB / 0.5573 GB, free: 5.574 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.6237, allocations: 4 kB / 0.5573 GB, free: 5.57 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.6237, allocations: 7.984 kB / 0.5573 GB, free: 5.562 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001684/0.6239, allocations: 27.98 kB / 0.5574 GB, free: 5.535 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.6241, allocations: 61.61 kB / 0.5574 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6242, allocations: 0 / 0.5574 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.6242, allocations: 0 / 0.5574 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.6242, allocations: 4 kB / 0.5574 GB, free: 5.465 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.625, allocations: 297.3 kB / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.6253, allocations: 66.69 kB / 0.5578 GB, free: 5.062 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.6254, allocations: 20.98 kB / 0.5578 GB, free: 5.039 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.6255, allocations: 0 / 0.5578 GB, free: 5.039 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.6257, allocations: 79.39 kB / 0.5579 GB, free: 4.949 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 2.845e-06/0.6258, allocations: 0 / 0.5579 GB, free: 4.949 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.001578/0.6273, allocations: 177.1 kB / 0.558 GB, free: 4.77 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.6274, allocations: 55.41 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.628, allocations: 225.8 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.628, allocations: 29.7 kB / 0.5583 GB, free: 4.438 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.6282, allocations: 166.5 kB / 0.5585 GB, free: 4.273 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.6283, allocations: 27.7 kB / 0.5585 GB, free: 4.246 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-06/0.6283, allocations: 0 / 0.5585 GB, free: 4.246 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.6285, allocations: 314.8 kB / 0.5588 GB, free: 3.93 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.6286, allocations: 20.09 kB / 0.5588 GB, free: 3.91 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.6288, allocations: 49.58 kB / 0.5589 GB, free: 3.855 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.6289, allocations: 27.98 kB / 0.5589 GB, free: 3.828 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6289, allocations: 0 / 0.5589 GB, free: 3.828 MB / 395.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003815/0.6293, allocations: 97.53 kB / 0.559 GB, free: 3.727 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.6294, allocations: 11.98 kB / 0.559 GB, free: 3.715 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6294, allocations: 0 / 0.559 GB, free: 3.715 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.6294, allocations: 0 / 0.559 GB, free: 3.715 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.6298, allocations: 23.88 kB / 0.559 GB, free: 3.691 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.6298, allocations: 0 / 0.559 GB, free: 3.691 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.6302, allocations: 15.97 kB / 0.5591 GB, free: 3.676 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.6303, allocations: 4 kB / 0.5591 GB, free: 3.672 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 (11): * Single equations (assignments): 11 * 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.0002455/0.6306, allocations: 105 kB / 0.5592 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004969/0.6311, allocations: 109.7 kB / 0.5593 GB, free: 3.449 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.136e-05/0.6312, allocations: 15.81 kB / 0.5593 GB, free: 3.434 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005177/0.6317, allocations: 139.4 kB / 0.5594 GB, free: 3.293 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6317, allocations: 0 / 0.5594 GB, free: 3.293 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.6318, allocations: 7.891 kB / 0.5594 GB, free: 3.285 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.6318, allocations: 0 / 0.5594 GB, free: 3.285 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.6329, allocations: 424 kB / 0.5598 GB, free: 2.824 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6329, allocations: 0 / 0.5598 GB, free: 2.824 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.633, allocations: 16.08 kB / 0.5598 GB, free: 2.809 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.6331, allocations: 7.938 kB / 0.5599 GB, free: 2.801 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.6331, allocations: 3.953 kB / 0.5599 GB, free: 2.797 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6331, allocations: 3.938 kB / 0.5599 GB, free: 2.793 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6332, allocations: 0 / 0.5599 GB, free: 2.793 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.6343, allocations: 237.9 kB / 0.5601 GB, free: 2.535 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.6346, allocations: 96.92 kB / 0.5602 GB, free: 2.422 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.6346, allocations: 3.953 kB / 0.5602 GB, free: 2.418 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.6349, allocations: 11.98 kB / 0.5602 GB, free: 2.406 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.635, allocations: 4 kB / 0.5602 GB, free: 2.402 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.635, allocations: 11.97 kB / 0.5602 GB, free: 2.391 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003695/0.6354, allocations: 179.2 kB / 0.5604 GB, free: 2.215 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6354, allocations: 0 / 0.5604 GB, free: 2.215 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0007646/0.6362, allocations: 32 kB / 0.5604 GB, free: 2.184 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 (11): * Single equations (assignments): 9 * 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.003359/0.6396, allocations: 1.131 MB / 0.5615 GB, free: 1.07 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.64, allocations: 71.92 kB / 0.5616 GB, free: 1 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.64, allocations: 0 / 0.5616 GB, free: 1 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.6403, allocations: 35.94 kB / 0.5616 GB, free: 0.9648 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009566/0.6412, allocations: 28.03 kB / 0.5616 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.6427, allocations: 317.1 kB / 0.5619 GB, free: 0.5781 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009725/0.6437, allocations: 0.7276 MB / 0.5627 GB, free: 15.82 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.644, allocations: 47.42 kB / 0.5627 GB, free: 15.78 MB / 411.1 MB Notification: Performance of SimCode: time 1.262e-06/0.644, allocations: 0 / 0.5627 GB, free: 15.78 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.703/3.347, allocations: 2.923 MB / 0.5656 GB, free: 12.86 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat