Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",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.001936/0.001937, allocations: 180 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.557/1.557, allocations: 221.3 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.0008673/0.0008672, allocations: 87.88 kB / 287 MB, free: 256 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.2348/0.2348, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.834e-05/5.867e-05, allocations: 4.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4942/0.6967, allocations: 89.22 MB / 0.5889 GB, free: 48 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.6971, allocations: 72.05 kB / 0.589 GB, free: 15.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.7133, allocations: 5.573 MB / 0.5944 GB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.7133, allocations: 0 / 0.5944 GB, free: 10.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.7134, allocations: 0 / 0.5944 GB, free: 10.41 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.0005928/0.714, allocations: 406.3 kB / 0.5948 GB, free: 9.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.714, allocations: 12.03 kB / 0.5948 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.071e-05/0.7141, allocations: 30.56 kB / 0.5949 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.7142, allocations: 7.906 kB / 0.5949 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.7145, allocations: 218.8 kB / 0.5951 GB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.7146, allocations: 7.953 kB / 0.5951 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.7146, allocations: 0 / 0.5951 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.7148, allocations: 57.61 kB / 0.5952 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.7148, allocations: 0 / 0.5952 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.7148, allocations: 4 kB / 0.5952 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.7148, allocations: 3.938 kB / 0.5952 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.7149, allocations: 23.98 kB / 0.5952 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.7154, allocations: 288.9 kB / 0.5955 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.7155, allocations: 58.62 kB / 0.5955 GB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.7156, allocations: 16.98 kB / 0.5955 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.7156, allocations: 3.984 kB / 0.5955 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.7158, allocations: 67.39 kB / 0.5956 GB, free: 9.059 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.7158, allocations: 4 kB / 0.5956 GB, free: 9.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005488/0.7164, allocations: 157.1 kB / 0.5958 GB, free: 8.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.7164, allocations: 51.41 kB / 0.5958 GB, free: 8.832 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.7167, allocations: 169.4 kB / 0.596 GB, free: 8.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.7167, allocations: 29.64 kB / 0.596 GB, free: 8.625 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.7168, allocations: 100.1 kB / 0.5961 GB, free: 8.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.7168, allocations: 19.72 kB / 0.5961 GB, free: 8.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.7168, allocations: 0 / 0.5961 GB, free: 8.504 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.717, allocations: 330.8 kB / 0.5964 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.7171, allocations: 20 kB / 0.5964 GB, free: 8.152 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.7171, allocations: 37.7 kB / 0.5965 GB, free: 8.109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/0.7172, allocations: 19.94 kB / 0.5965 GB, free: 8.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7172, allocations: 4 kB / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.7174, allocations: 101.5 kB / 0.5966 GB, free: 7.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.7174, allocations: 5.406 kB / 0.5966 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7174, allocations: 4.188 kB / 0.5966 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7175, allocations: 4.031 kB / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.7176, allocations: 23.92 kB / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.7176, allocations: 0 / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.7176, allocations: 11.94 kB / 0.5966 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.7177, allocations: 4 kB / 0.5966 GB, free: 7.93 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 8.786e-05/0.7178, allocations: 108.9 kB / 0.5968 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.7178, allocations: 11.91 kB / 0.5968 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.718, allocations: 114.2 kB / 0.5969 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.718, allocations: 4 kB / 0.5969 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7181, allocations: 0 / 0.5969 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7181, allocations: 0 / 0.5969 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.7186, allocations: 411.2 kB / 0.5973 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7186, allocations: 0 / 0.5973 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.7186, allocations: 15.92 kB / 0.5973 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.7186, allocations: 4 kB / 0.5973 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.7186, allocations: 4 kB / 0.5973 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7187, allocations: 32 / 0.5973 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7187, allocations: 11.94 kB / 0.5973 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.7189, allocations: 210.2 kB / 0.5975 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.09e-05/0.719, allocations: 100.9 kB / 0.5976 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.719, allocations: 3.938 kB / 0.5976 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.7191, allocations: 8 kB / 0.5976 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.7192, allocations: 15.94 kB / 0.5976 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.7192, allocations: 4 kB / 0.5976 GB, free: 6.812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.7193, allocations: 144.9 kB / 0.5978 GB, free: 6.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7193, allocations: 0 / 0.5978 GB, free: 6.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.7196, allocations: 28 kB / 0.5978 GB, free: 6.645 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.001497/0.7211, allocations: 1.135 MB / 0.5989 GB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.7213, allocations: 59.92 kB / 0.599 GB, free: 5.535 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7213, allocations: 4.062 kB / 0.599 GB, free: 5.531 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.413e-05/0.7213, allocations: 35.88 kB / 0.599 GB, free: 5.496 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.7216, allocations: 29.64 kB / 0.599 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.7222, allocations: 220.4 kB / 0.5992 GB, free: 5.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.7225, allocations: 0.7122 MB / 0.5999 GB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.7226, allocations: 16.42 kB / 0.5999 GB, free: 4.453 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.7227, allocations: 35.42 kB / 0.6 GB, free: 4.418 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.7227, allocations: 0 / 0.6 GB, free: 4.418 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.7379, allocations: 3.003 MB / 0.6029 GB, free: 1.508 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.7382, allocations: 188 kB / 0.6031 GB, free: 1.281 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.46, allocations: 0 / 0.6031 GB, free: 1.281 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat