Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",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.0009469/0.0009469, 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.5/1.5, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008145/0.0008147, allocations: 87.88 kB / 261.7 MB, free: 1.68 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.2074/0.2074, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.137e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.395/0.5116, allocations: 86.92 MB / 0.5509 GB, free: 7.695 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5119, allocations: 79.8 kB / 0.551 GB, free: 7.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01333/0.5252, allocations: 5.268 MB / 0.5561 GB, free: 3.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.5252, allocations: 0 / 0.5561 GB, free: 3.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.5253, allocations: 7.938 kB / 0.5561 GB, free: 3.496 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.0003817/0.5257, allocations: 401.5 kB / 0.5565 GB, free: 3.066 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5257, allocations: 12.03 kB / 0.5565 GB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.5258, allocations: 7.906 kB / 0.5566 GB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.5261, allocations: 224.3 kB / 0.5568 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5261, allocations: 4 kB / 0.5568 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.5261, allocations: 0 / 0.5568 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.772e-05/0.5262, allocations: 19.55 kB / 0.5568 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.047e-05/0.5263, allocations: 47.81 kB / 0.5568 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5263, allocations: 4 kB / 0.5568 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.5263, allocations: 0 / 0.5568 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5263, allocations: 0 / 0.5568 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.5267, allocations: 276.3 kB / 0.5571 GB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.044e-05/0.5268, allocations: 48.64 kB / 0.5571 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.5268, allocations: 19.97 kB / 0.5572 GB, free: 2.375 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.5268, allocations: 4 kB / 0.5572 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.527, allocations: 63.78 kB / 0.5572 GB, free: 2.305 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.527, allocations: 0 / 0.5572 GB, free: 2.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004091/0.5274, allocations: 154.6 kB / 0.5574 GB, free: 2.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.5274, allocations: 55.34 kB / 0.5574 GB, free: 2.105 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.5276, allocations: 183 kB / 0.5576 GB, free: 1.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.5276, allocations: 29.69 kB / 0.5576 GB, free: 1.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.5276, allocations: 106.2 kB / 0.5577 GB, free: 1.809 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.5276, allocations: 29.95 kB / 0.5578 GB, free: 1.785 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.5277, allocations: 0 / 0.5578 GB, free: 1.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.5277, allocations: 322.1 kB / 0.5581 GB, free: 1.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.5278, allocations: 14.06 kB / 0.5581 GB, free: 1.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.5278, allocations: 34.59 kB / 0.5581 GB, free: 1.426 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.5278, allocations: 27.05 kB / 0.5581 GB, free: 1.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5279, allocations: 4 kB / 0.5581 GB, free: 1.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001212/0.528, allocations: 88.66 kB / 0.5582 GB, free: 1.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.528, allocations: 4 kB / 0.5582 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.528, allocations: 3.984 kB / 0.5582 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.528, allocations: 0 / 0.5582 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.5281, allocations: 19.94 kB / 0.5583 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.5281, allocations: 0 / 0.5583 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.5282, allocations: 4 kB / 0.5583 GB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.5282, allocations: 7.938 kB / 0.5583 GB, free: 1.285 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.228e-05/0.5283, allocations: 110.7 kB / 0.5584 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001193/0.5284, allocations: 90.75 kB / 0.5585 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.5284, allocations: 11.91 kB / 0.5585 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.5286, allocations: 110.2 kB / 0.5586 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5286, allocations: 0 / 0.5586 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5286, allocations: 3.953 kB / 0.5586 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5286, allocations: 3.984 kB / 0.5586 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.5289, allocations: 387.2 kB / 0.559 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5289, allocations: 4 kB / 0.559 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.529, allocations: 11.98 kB / 0.559 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.529, allocations: 3.984 kB / 0.559 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.529, allocations: 288 / 0.559 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.529, allocations: 11.89 kB / 0.559 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.529, allocations: 0 / 0.559 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.5292, allocations: 213.1 kB / 0.5592 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.5292, allocations: 96.91 kB / 0.5593 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.5293, allocations: 7.891 kB / 0.5593 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.5294, allocations: 7.938 kB / 0.5593 GB, free: 228 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.5294, allocations: 11.36 kB / 0.5593 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.5294, allocations: 192 / 0.5593 GB, free: 220 kB / 362.7 MB Notification: Performance of sorting global known variables: time 8.769e-05/0.5295, allocations: 147.9 kB / 0.5594 GB, free: 96 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5295, allocations: 0 / 0.5594 GB, free: 96 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.5298, allocations: 31.94 kB / 0.5595 GB, free: 64 kB / 362.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.001284/0.5311, allocations: 1.098 MB / 0.5606 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.5312, allocations: 49.31 kB / 0.5606 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5312, allocations: 0 / 0.5606 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.5313, allocations: 33.94 kB / 0.5606 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.5316, allocations: 23.34 kB / 0.5607 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.5321, allocations: 225.4 kB / 0.5609 GB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.5324, allocations: 0.708 MB / 0.5616 GB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.044e-05/0.5324, allocations: 16.61 kB / 0.5616 GB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.5325, allocations: 38.61 kB / 0.5616 GB, free: 13.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5325, allocations: 4 kB / 0.5616 GB, free: 13.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.556, allocations: 2.718 MB / 0.5643 GB, free: 11.22 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.5563, allocations: 166.5 kB / 0.5644 GB, free: 11.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/2.011, allocations: 0 / 0.5644 GB, free: 11.02 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat