Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 180.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.4 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 81.41 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.265/0.265, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.785e-05/4.788e-05, allocations: 4 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1521, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.6001, allocations: 89.22 MB / 0.5889 GB, free: 12 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.6004, allocations: 75.95 kB / 0.589 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.6158, allocations: 5.604 MB / 0.5945 GB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6158, allocations: 0 / 0.5945 GB, free: 10.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.6159, allocations: 4 kB / 0.5945 GB, free: 10.34 MB / 410.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.0005065/0.6164, allocations: 410.2 kB / 0.5949 GB, free: 9.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.6164, allocations: 8.031 kB / 0.5949 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.6165, allocations: 42.48 kB / 0.5949 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.6165, allocations: 11.81 kB / 0.5949 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.6169, allocations: 211.6 kB / 0.5951 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.6169, allocations: 3.953 kB / 0.5951 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.6169, allocations: 8 kB / 0.5952 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.6171, allocations: 53.62 kB / 0.5952 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.6171, allocations: 0 / 0.5952 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.6171, allocations: 7.922 kB / 0.5952 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6171, allocations: 0 / 0.5952 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.843e-05/0.6172, allocations: 16 kB / 0.5952 GB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.6176, allocations: 296.9 kB / 0.5955 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.6177, allocations: 58.62 kB / 0.5956 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.6178, allocations: 20.98 kB / 0.5956 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.6178, allocations: 0 / 0.5956 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.618, allocations: 71.39 kB / 0.5957 GB, free: 8.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.618, allocations: 0 / 0.5957 GB, free: 8.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004697/0.6184, allocations: 157.1 kB / 0.5958 GB, free: 8.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.6185, allocations: 55.41 kB / 0.5959 GB, free: 8.742 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.6187, allocations: 183.7 kB / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.6187, allocations: 33.7 kB / 0.5961 GB, free: 8.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.6188, allocations: 100.1 kB / 0.5962 GB, free: 8.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.6188, allocations: 23.66 kB / 0.5962 GB, free: 8.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.6188, allocations: 0 / 0.5962 GB, free: 8.387 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.619, allocations: 330.8 kB / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.619, allocations: 16 kB / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/0.6191, allocations: 41.64 kB / 0.5966 GB, free: 7.992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.6191, allocations: 20 kB / 0.5966 GB, free: 7.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.6191, allocations: 0 / 0.5966 GB, free: 7.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001479/0.6193, allocations: 101.6 kB / 0.5967 GB, free: 7.867 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.6193, allocations: 4 kB / 0.5967 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6193, allocations: 4 kB / 0.5967 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.6194, allocations: 3.938 kB / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.6195, allocations: 15.98 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6195, allocations: 0 / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.6195, allocations: 12.03 kB / 0.5967 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.6195, allocations: 4 kB / 0.5967 GB, free: 7.824 MB / 410.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 () * 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 7.518e-05/0.6196, allocations: 105.1 kB / 0.5968 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.6197, allocations: 19.81 kB / 0.5968 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.6199, allocations: 119.1 kB / 0.5969 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.6199, allocations: 0 / 0.5969 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6199, allocations: 0 / 0.5969 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6199, allocations: 3.984 kB / 0.5969 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.6204, allocations: 415.4 kB / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6204, allocations: 3.938 kB / 0.5973 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.6204, allocations: 12 kB / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6204, allocations: 3.938 kB / 0.5974 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.6204, allocations: 4 kB / 0.5974 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6205, allocations: 0 / 0.5974 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6205, allocations: 80 / 0.5974 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.6207, allocations: 233.8 kB / 0.5976 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.6208, allocations: 93 kB / 0.5977 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.6208, allocations: 4 kB / 0.5977 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.6209, allocations: 4 kB / 0.5977 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.6209, allocations: 11.94 kB / 0.5977 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.6209, allocations: 4 kB / 0.5977 GB, free: 6.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.6211, allocations: 152.9 kB / 0.5978 GB, free: 6.547 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6211, allocations: 0 / 0.5978 GB, free: 6.547 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.6213, allocations: 43.92 kB / 0.5979 GB, free: 6.504 MB / 410.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) * 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.001365/0.6227, allocations: 1.135 MB / 0.599 GB, free: 5.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.6229, allocations: 55.94 kB / 0.599 GB, free: 5.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6229, allocations: 3.938 kB / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.623, allocations: 35.92 kB / 0.5991 GB, free: 5.367 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.6232, allocations: 28.06 kB / 0.5991 GB, free: 5.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.6238, allocations: 229 kB / 0.5993 GB, free: 5.082 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.6241, allocations: 0.7121 MB / 0.6 GB, free: 4.344 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.054e-05/0.6242, allocations: 24.7 kB / 0.6001 GB, free: 4.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.6243, allocations: 39.42 kB / 0.6001 GB, free: 4.281 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6243, allocations: 3.938 kB / 0.6001 GB, free: 4.277 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.6402, allocations: 3.06 MB / 0.6031 GB, free: 1.305 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/0.6405, allocations: 192 kB / 0.6033 GB, free: 1.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.387, allocations: 0 / 0.6033 GB, free: 1.07 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat