Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.001823/0.001822, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009807/0.0009807, allocations: 90.78 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2243/0.2243, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 58.87 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.5038, allocations: 88.5 MB / 0.5653 GB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5041, allocations: 78.77 kB / 0.5654 GB, free: 11.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01944/0.5236, allocations: 6.939 MB / 0.5721 GB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5236, allocations: 3.938 kB / 0.5721 GB, free: 5.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.5236, allocations: 4 kB / 0.5722 GB, free: 5.367 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007285/0.5244, allocations: 0.5405 MB / 0.5727 GB, free: 4.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5244, allocations: 12.03 kB / 0.5727 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.5245, allocations: 37.36 kB / 0.5727 GB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.5245, allocations: 31.66 kB / 0.5728 GB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.525, allocations: 295.6 kB / 0.573 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.5251, allocations: 3.875 kB / 0.573 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.5251, allocations: 4 kB / 0.573 GB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.5253, allocations: 110.4 kB / 0.5732 GB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.5253, allocations: 3.984 kB / 0.5732 GB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.5254, allocations: 3.688 kB / 0.5732 GB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5254, allocations: 4 kB / 0.5732 GB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.5255, allocations: 43.52 kB / 0.5732 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.526, allocations: 384.9 kB / 0.5736 GB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.5263, allocations: 132.6 kB / 0.5737 GB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.5263, allocations: 0 / 0.5737 GB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.5266, allocations: 120 kB / 0.5738 GB, free: 3.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.5266, allocations: 0 / 0.5738 GB, free: 3.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004695/0.527, allocations: 183.2 kB / 0.574 GB, free: 3.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.5271, allocations: 106.8 kB / 0.5741 GB, free: 3.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.5275, allocations: 310.3 kB / 0.5744 GB, free: 3.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5275, allocations: 29.02 kB / 0.5744 GB, free: 3.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.5276, allocations: 137.2 kB / 0.5745 GB, free: 2.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.5277, allocations: 35.2 kB / 0.5746 GB, free: 2.934 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-06/0.5277, allocations: 7.562 kB / 0.5746 GB, free: 2.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5278, allocations: 332.9 kB / 0.5749 GB, free: 2.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/0.5279, allocations: 34.05 kB / 0.5749 GB, free: 2.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.5281, allocations: 84.75 kB / 0.575 GB, free: 2.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.605e-05/0.5282, allocations: 40.77 kB / 0.5751 GB, free: 2.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5282, allocations: 0 / 0.5751 GB, free: 2.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002812/0.5285, allocations: 152.8 kB / 0.5752 GB, free: 2.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5285, allocations: 8 kB / 0.5752 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5285, allocations: 0.625 kB / 0.5752 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.5285, allocations: 0 / 0.5752 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.5287, allocations: 27.98 kB / 0.5752 GB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.5287, allocations: 4 kB / 0.5752 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.5288, allocations: 19.23 kB / 0.5753 GB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.5288, allocations: 11.95 kB / 0.5753 GB, free: 2.277 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.000155/0.529, allocations: 155.4 kB / 0.5754 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.529, allocations: 27.28 kB / 0.5754 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.5294, allocations: 173.5 kB / 0.5756 GB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.5294, allocations: 4 kB / 0.5756 GB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5295, allocations: 4 kB / 0.5756 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5295, allocations: 0 / 0.5756 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.5297, allocations: 269 kB / 0.5759 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5297, allocations: 0 / 0.5759 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.5298, allocations: 11.94 kB / 0.5759 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.5298, allocations: 4 kB / 0.5759 GB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.5298, allocations: 0 / 0.5759 GB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.5298, allocations: 7.984 kB / 0.5759 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5298, allocations: 0 / 0.5759 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.5302, allocations: 203 kB / 0.5761 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.5303, allocations: 116.6 kB / 0.5762 GB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.5304, allocations: 7.75 kB / 0.5762 GB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.209e-05/0.5304, allocations: 4 kB / 0.5762 GB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.5305, allocations: 19.8 kB / 0.5762 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.5305, allocations: 7.984 kB / 0.5762 GB, free: 1.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003211/0.5309, allocations: 247.4 kB / 0.5765 GB, free: 1.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5309, allocations: 0 / 0.5765 GB, free: 1.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002949/0.5312, allocations: 55.02 kB / 0.5765 GB, free: 1.066 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001614/0.5328, allocations: 1.118 MB / 0.5776 GB, free: 0 / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.5331, allocations: 115.1 kB / 0.5777 GB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5332, allocations: 0 / 0.5777 GB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.5333, allocations: 53.8 kB / 0.5778 GB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.5337, allocations: 58.41 kB / 0.5778 GB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.5358, allocations: 1.711 MB / 0.5795 GB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.5362, allocations: 0.7589 MB / 0.5802 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.5363, allocations: 33.67 kB / 0.5803 GB, free: 13.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.5364, allocations: 70.78 kB / 0.5803 GB, free: 13.37 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5364, allocations: 0 / 0.5803 GB, free: 13.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.5534, allocations: 5.222 MB / 0.5854 GB, free: 8.168 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.5537, allocations: 213.7 kB / 0.5856 GB, free: 7.922 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.488, allocations: 0 / 0.5856 GB, free: 7.922 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat