Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.001122/0.001122, allocations: 177.6 kB / 8.002 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.549/1.549, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008348/0.0008348, allocations: 86.64 kB / 261.8 MB, free: 1.684 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.2071/0.2071, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.391e-05/2.393e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.457/0.5899, allocations: 86.96 MB / 0.551 GB, free: 7.676 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5902, allocations: 78.17 kB / 0.551 GB, free: 7.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.6034, allocations: 5.638 MB / 0.5565 GB, free: 3.145 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6034, allocations: 0 / 0.5565 GB, free: 3.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.6034, allocations: 7.938 kB / 0.5565 GB, free: 3.137 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.0003815/0.6038, allocations: 412 kB / 0.5569 GB, free: 2.699 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.6039, allocations: 12.03 kB / 0.557 GB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.6039, allocations: 7.906 kB / 0.557 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.6042, allocations: 240.2 kB / 0.5572 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.6042, allocations: 8 kB / 0.5572 GB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.6043, allocations: 0 / 0.5572 GB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.492e-05/0.6044, allocations: 15.44 kB / 0.5572 GB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.6045, allocations: 52.42 kB / 0.5573 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.6045, allocations: 0 / 0.5573 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.6045, allocations: 0 / 0.5573 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6045, allocations: 0 / 0.5573 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.6049, allocations: 289 kB / 0.5575 GB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.977e-05/0.605, allocations: 54.88 kB / 0.5576 GB, free: 2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.605, allocations: 16.36 kB / 0.5576 GB, free: 1.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.605, allocations: 3.828 kB / 0.5576 GB, free: 1.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.6052, allocations: 69.42 kB / 0.5577 GB, free: 1.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.6052, allocations: 0 / 0.5577 GB, free: 1.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004198/0.6056, allocations: 152.7 kB / 0.5578 GB, free: 1.777 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.6056, allocations: 59.34 kB / 0.5579 GB, free: 1.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.6058, allocations: 237 kB / 0.5581 GB, free: 1.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.6058, allocations: 29.7 kB / 0.5581 GB, free: 1.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.6059, allocations: 106.5 kB / 0.5582 GB, free: 1.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.6059, allocations: 25.41 kB / 0.5583 GB, free: 1.359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.6059, allocations: 0 / 0.5583 GB, free: 1.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.606, allocations: 329.3 kB / 0.5586 GB, free: 1.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.606, allocations: 18.67 kB / 0.5586 GB, free: 1.023 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.6061, allocations: 36.34 kB / 0.5586 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.6061, allocations: 25.73 kB / 0.5586 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.6061, allocations: 0 / 0.5586 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001199/0.6063, allocations: 92.12 kB / 0.5587 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6063, allocations: 4 kB / 0.5587 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.6063, allocations: 0 / 0.5587 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6063, allocations: 4 kB / 0.5587 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.6064, allocations: 19.92 kB / 0.5588 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6064, allocations: 4.031 kB / 0.5588 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.6065, allocations: 4 kB / 0.5588 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.6065, allocations: 11.58 kB / 0.5588 GB, free: 0.8438 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 5.953e-05/0.6066, allocations: 101 kB / 0.5589 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001206/0.6067, allocations: 102.6 kB / 0.559 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.6067, allocations: 15.81 kB / 0.559 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.6069, allocations: 116.2 kB / 0.5591 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6069, allocations: 4 kB / 0.5591 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6069, allocations: 7.953 kB / 0.5591 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6069, allocations: 0 / 0.5591 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.6073, allocations: 396.9 kB / 0.5595 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6073, allocations: 0 / 0.5595 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.6073, allocations: 11.98 kB / 0.5595 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6073, allocations: 7.938 kB / 0.5595 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.6073, allocations: 0 / 0.5595 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6073, allocations: 3.953 kB / 0.5595 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6074, allocations: 4.031 kB / 0.5595 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.6076, allocations: 217.7 kB / 0.5597 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.6076, allocations: 96.91 kB / 0.5598 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.6077, allocations: 11.33 kB / 0.5598 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.6078, allocations: 7.938 kB / 0.5598 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.6078, allocations: 7.984 kB / 0.5598 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.6078, allocations: 4 kB / 0.5598 GB, free: 15.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.608, allocations: 192.8 kB / 0.56 GB, free: 15.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.608, allocations: 0 / 0.56 GB, free: 15.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.6083, allocations: 35.92 kB / 0.5601 GB, free: 15.56 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.00134/0.6096, allocations: 1.105 MB / 0.5611 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.6098, allocations: 49.06 kB / 0.5612 GB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6098, allocations: 0 / 0.5612 GB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.35e-05/0.6098, allocations: 35.33 kB / 0.5612 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.6101, allocations: 27.12 kB / 0.5613 GB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.6107, allocations: 286.5 kB / 0.5615 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.611, allocations: 0.7233 MB / 0.5622 GB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.6111, allocations: 16.55 kB / 0.5622 GB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.6112, allocations: 41.55 kB / 0.5623 GB, free: 13.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6112, allocations: 4 kB / 0.5623 GB, free: 13.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.6343, allocations: 3.066 MB / 0.5653 GB, free: 10.29 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.6345, allocations: 170.5 kB / 0.5654 GB, free: 10.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.189, allocations: 0 / 0.5654 GB, free: 10.09 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat