Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.00131/0.00131, allocations: 179.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.547/1.547, allocations: 221.3 MB / 236 MB, free: 2.977 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.001058/0.001058, allocations: 91.78 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.2403/0.2403, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.289e-05/5.308e-05, allocations: 4.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1771, allocations: 61.93 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5219/0.6991, allocations: 89.22 MB / 0.5889 GB, free: 12 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.6995, allocations: 72.05 kB / 0.589 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01561/0.7151, allocations: 5.569 MB / 0.5944 GB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7151, allocations: 0 / 0.5944 GB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.7152, allocations: 0 / 0.5944 GB, free: 10.39 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.000619/0.7158, allocations: 410.3 kB / 0.5948 GB, free: 9.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.7158, allocations: 8.031 kB / 0.5948 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.279e-05/0.7159, allocations: 34.56 kB / 0.5949 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.716, allocations: 7.906 kB / 0.5949 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.7163, allocations: 214.8 kB / 0.5951 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.7164, allocations: 3.953 kB / 0.5951 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.7164, allocations: 4 kB / 0.5951 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.7166, allocations: 61.61 kB / 0.5952 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.7166, allocations: 0 / 0.5952 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.7166, allocations: 0 / 0.5952 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.7166, allocations: 7.938 kB / 0.5952 GB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.7167, allocations: 19.98 kB / 0.5952 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.7171, allocations: 292.9 kB / 0.5955 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.7173, allocations: 58.62 kB / 0.5955 GB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.7173, allocations: 20.98 kB / 0.5955 GB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.7174, allocations: 0 / 0.5955 GB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.7175, allocations: 71.33 kB / 0.5956 GB, free: 9.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.7175, allocations: 0 / 0.5956 GB, free: 9.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000491/0.718, allocations: 157.1 kB / 0.5958 GB, free: 8.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.7181, allocations: 51.41 kB / 0.5958 GB, free: 8.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.7183, allocations: 169.4 kB / 0.596 GB, free: 8.629 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.7183, allocations: 29.7 kB / 0.596 GB, free: 8.594 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.7184, allocations: 100.1 kB / 0.5961 GB, free: 8.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.7184, allocations: 19.72 kB / 0.5961 GB, free: 8.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.7184, allocations: 0 / 0.5961 GB, free: 8.473 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7186, allocations: 330.8 kB / 0.5964 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.814e-05/0.7186, allocations: 16 kB / 0.5964 GB, free: 8.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/0.7187, allocations: 33.7 kB / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.702e-05/0.7187, allocations: 27.94 kB / 0.5965 GB, free: 8.059 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.7187, allocations: 0 / 0.5965 GB, free: 8.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001606/0.7189, allocations: 105.5 kB / 0.5966 GB, free: 7.949 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7189, allocations: 4 kB / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.7189, allocations: 0 / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.7189, allocations: 4.188 kB / 0.5966 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.719, allocations: 23.92 kB / 0.5966 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.719, allocations: 0 / 0.5966 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.7191, allocations: 11.94 kB / 0.5966 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.7191, allocations: 8.031 kB / 0.5967 GB, free: 7.898 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.033e-05/0.7192, allocations: 108.9 kB / 0.5968 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.7192, allocations: 11.91 kB / 0.5968 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.7195, allocations: 110.2 kB / 0.5969 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.7195, allocations: 4 kB / 0.5969 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7195, allocations: 0 / 0.5969 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7195, allocations: 0 / 0.5969 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.72, allocations: 415.2 kB / 0.5973 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.72, allocations: 0 / 0.5973 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.72, allocations: 16.2 kB / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.72, allocations: 0 / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.7201, allocations: 8 kB / 0.5973 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.7201, allocations: 3.938 kB / 0.5973 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7201, allocations: 3.938 kB / 0.5973 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.7203, allocations: 214 kB / 0.5975 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.7204, allocations: 104.8 kB / 0.5976 GB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.7204, allocations: 0 / 0.5976 GB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.7205, allocations: 8 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.7205, allocations: 11.94 kB / 0.5976 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.7206, allocations: 3.984 kB / 0.5976 GB, free: 6.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.7207, allocations: 148.9 kB / 0.5978 GB, free: 6.641 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7207, allocations: 4 kB / 0.5978 GB, free: 6.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.721, allocations: 28 kB / 0.5978 GB, free: 6.609 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.001493/0.7225, allocations: 1.131 MB / 0.5989 GB, free: 5.566 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.7226, allocations: 59.92 kB / 0.599 GB, free: 5.508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7227, allocations: 0 / 0.599 GB, free: 5.508 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.048e-05/0.7227, allocations: 39.81 kB / 0.599 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.723, allocations: 31.98 kB / 0.599 GB, free: 5.438 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.7236, allocations: 220.5 kB / 0.5992 GB, free: 5.176 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.7239, allocations: 0.7082 MB / 0.5999 GB, free: 4.441 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.779e-05/0.724, allocations: 16.42 kB / 0.5999 GB, free: 4.426 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.7241, allocations: 35.42 kB / 0.6 GB, free: 4.391 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7241, allocations: 4 kB / 0.6 GB, free: 4.387 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.7438, allocations: 3 MB / 0.6029 GB, free: 1.477 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00034/0.7442, allocations: 188 kB / 0.6031 GB, free: 1.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.423, allocations: 3.938 kB / 0.6031 GB, free: 1.246 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat