Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.0009963/0.0009961, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008882/0.0008882, allocations: 86.64 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1945/0.1945, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.385e-05/2.387e-05, allocations: 8 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.115, allocations: 58.86 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.5096, allocations: 87.17 MB / 0.5512 GB, free: 7.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5099, allocations: 79.23 kB / 0.5512 GB, free: 7.391 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01361/0.5235, allocations: 5.64 MB / 0.5568 GB, free: 3.121 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5236, allocations: 0 / 0.5568 GB, free: 3.121 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.5236, allocations: 4 kB / 0.5568 GB, free: 3.117 MB / 362.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.0003739/0.524, allocations: 389.4 kB / 0.5571 GB, free: 2.703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.524, allocations: 12.03 kB / 0.5571 GB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.5241, allocations: 11.89 kB / 0.5571 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.5243, allocations: 206.2 kB / 0.5573 GB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.5244, allocations: 0 / 0.5573 GB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.5244, allocations: 7.984 kB / 0.5574 GB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.297e-05/0.5245, allocations: 11.94 kB / 0.5574 GB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.5246, allocations: 70.39 kB / 0.5574 GB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5246, allocations: 4 kB / 0.5574 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.5247, allocations: 0 / 0.5574 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.5247, allocations: 0 / 0.5574 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.525, allocations: 268 kB / 0.5577 GB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.037e-05/0.5251, allocations: 54 kB / 0.5577 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.5251, allocations: 16.61 kB / 0.5578 GB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.5251, allocations: 0 / 0.5578 GB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.5253, allocations: 70.27 kB / 0.5578 GB, free: 1.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.5253, allocations: 3.938 kB / 0.5578 GB, free: 1.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004038/0.5257, allocations: 146.6 kB / 0.558 GB, free: 1.805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.5257, allocations: 77.11 kB / 0.558 GB, free: 1.711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.5258, allocations: 149.3 kB / 0.5582 GB, free: 1.578 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.5259, allocations: 25.7 kB / 0.5582 GB, free: 1.547 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.5259, allocations: 91.02 kB / 0.5583 GB, free: 1.461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.5259, allocations: 27.58 kB / 0.5583 GB, free: 1.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.5259, allocations: 0 / 0.5583 GB, free: 1.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.526, allocations: 322.7 kB / 0.5586 GB, free: 1.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.097e-05/0.526, allocations: 18.94 kB / 0.5586 GB, free: 1.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.5261, allocations: 34.14 kB / 0.5587 GB, free: 1.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.5261, allocations: 26.73 kB / 0.5587 GB, free: 1.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5261, allocations: 0 / 0.5587 GB, free: 1.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001251/0.5263, allocations: 90.83 kB / 0.5588 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5263, allocations: 16.05 kB / 0.5588 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5263, allocations: 0 / 0.5588 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5263, allocations: 3.953 kB / 0.5588 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.5264, allocations: 15.88 kB / 0.5588 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5265, allocations: 4 kB / 0.5588 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.5265, allocations: 3.984 kB / 0.5588 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.5265, allocations: 4 kB / 0.5588 GB, free: 0.9297 MB / 362.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.127e-05/0.5266, allocations: 108.9 kB / 0.5589 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001244/0.5267, allocations: 88.09 kB / 0.559 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.5268, allocations: 23.83 kB / 0.5591 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.5269, allocations: 103.9 kB / 0.5591 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5269, allocations: 0 / 0.5591 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.527, allocations: 0 / 0.5591 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.527, allocations: 3.984 kB / 0.5592 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.5273, allocations: 366.9 kB / 0.5595 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5273, allocations: 3.953 kB / 0.5595 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.5273, allocations: 8 kB / 0.5595 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5273, allocations: 8.031 kB / 0.5595 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5274, allocations: 3.984 kB / 0.5595 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5274, allocations: 192 / 0.5595 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5274, allocations: 4.281 kB / 0.5595 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.5275, allocations: 217.3 kB / 0.5597 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.5276, allocations: 88.95 kB / 0.5598 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.5277, allocations: 11.98 kB / 0.5598 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.5277, allocations: 3.375 kB / 0.5598 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.5278, allocations: 4 kB / 0.5598 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.5278, allocations: 7.984 kB / 0.5598 GB, free: 15.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.512e-05/0.5279, allocations: 111.5 kB / 0.56 GB, free: 15.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.755e-06/0.5279, allocations: 4 kB / 0.56 GB, free: 15.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000288/0.5282, allocations: 39.12 kB / 0.56 GB, free: 15.74 MB / 378.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.001412/0.5296, allocations: 1.139 MB / 0.5611 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.5298, allocations: 56.44 kB / 0.5612 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5298, allocations: 0 / 0.5612 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/0.5298, allocations: 32.55 kB / 0.5612 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.5301, allocations: 23.47 kB / 0.5612 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.5306, allocations: 193.5 kB / 0.5614 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.5309, allocations: 0.7042 MB / 0.5621 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.298e-05/0.531, allocations: 16.86 kB / 0.5621 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.531, allocations: 33.92 kB / 0.5621 GB, free: 13.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.531, allocations: 0 / 0.5621 GB, free: 13.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.5543, allocations: 2.752 MB / 0.5648 GB, free: 10.85 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.5546, allocations: 175.1 kB / 0.565 GB, free: 10.65 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.085, allocations: 0 / 0.565 GB, free: 10.65 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat