Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",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.001094/0.001094, allocations: 177.6 kB / 8.005 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.632/1.632, 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.0008984/0.0008984, allocations: 90.62 kB / 261.7 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.2161/0.2161, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.686e-05/2.688e-05, allocations: 8 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 58.86 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3935/0.5132, allocations: 86.76 MB / 0.5508 GB, free: 7.801 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.5135, allocations: 76.98 kB / 0.5508 GB, free: 7.762 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01183/0.5253, allocations: 5.06 MB / 0.5558 GB, free: 3.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.5254, allocations: 0 / 0.5558 GB, free: 3.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.5254, allocations: 0 / 0.5558 GB, free: 3.762 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003062/0.5257, allocations: 393.9 kB / 0.5561 GB, free: 3.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5257, allocations: 12.03 kB / 0.5562 GB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.5258, allocations: 7.906 kB / 0.5562 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.526, allocations: 216.9 kB / 0.5564 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.5261, allocations: 0 / 0.5564 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.5261, allocations: 4 kB / 0.5564 GB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.362e-05/0.5261, allocations: 16.31 kB / 0.5564 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.831e-05/0.5262, allocations: 48.48 kB / 0.5564 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.5262, allocations: 0 / 0.5564 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.5262, allocations: 0 / 0.5564 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.5263, allocations: 8 kB / 0.5564 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.5264, allocations: 159.9 kB / 0.5566 GB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.5265, allocations: 44.5 kB / 0.5566 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.5265, allocations: 16.3 kB / 0.5567 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.5265, allocations: 3.938 kB / 0.5567 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.792e-05/0.5266, allocations: 70.05 kB / 0.5567 GB, free: 2.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.5266, allocations: 0 / 0.5567 GB, free: 2.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001598/0.5268, allocations: 75.06 kB / 0.5568 GB, free: 2.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/0.5268, allocations: 51.41 kB / 0.5568 GB, free: 2.555 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.5269, allocations: 151.3 kB / 0.557 GB, free: 2.418 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.527, allocations: 29.02 kB / 0.557 GB, free: 2.387 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.527, allocations: 102.6 kB / 0.5571 GB, free: 2.293 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.527, allocations: 7.906 kB / 0.5571 GB, free: 2.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.527, allocations: 4 kB / 0.5571 GB, free: 2.281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.5271, allocations: 325.8 kB / 0.5574 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.5271, allocations: 7.5 kB / 0.5574 GB, free: 1.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/0.5271, allocations: 32.45 kB / 0.5575 GB, free: 1.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.5272, allocations: 19.12 kB / 0.5575 GB, free: 1.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5272, allocations: 0 / 0.5575 GB, free: 1.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.117e-05/0.5273, allocations: 75.52 kB / 0.5576 GB, free: 1.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.5273, allocations: 12.03 kB / 0.5576 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.5273, allocations: 160 / 0.5576 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.5273, allocations: 0 / 0.5576 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.5274, allocations: 11.98 kB / 0.5576 GB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.5274, allocations: 11.92 kB / 0.5576 GB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.5275, allocations: 0 / 0.5576 GB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.5275, allocations: 4 kB / 0.5576 GB, free: 1.801 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 (7): * Single equations (assignments): 7 * 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.935e-05/0.5275, allocations: 104.9 kB / 0.5577 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.456e-05/0.5276, allocations: 83.22 kB / 0.5578 GB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.5277, allocations: 7.906 kB / 0.5578 GB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.5278, allocations: 93.33 kB / 0.5579 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5278, allocations: 0 / 0.5579 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5278, allocations: 0 / 0.5579 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5278, allocations: 0 / 0.5579 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.416e-05/0.5279, allocations: 175.2 kB / 0.558 GB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.528, allocations: 3.953 kB / 0.5581 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.528, allocations: 4 kB / 0.5581 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.528, allocations: 0 / 0.5581 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.528, allocations: 0 / 0.5581 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.528, allocations: 0 / 0.5581 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.528, allocations: 8 kB / 0.5581 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.5281, allocations: 109.8 kB / 0.5582 GB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.5282, allocations: 92.95 kB / 0.5583 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.5282, allocations: 0 / 0.5583 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.5283, allocations: 4 kB / 0.5583 GB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.5283, allocations: 7.969 kB / 0.5583 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.5283, allocations: 15.06 kB / 0.5583 GB, free: 1.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.902e-05/0.5284, allocations: 129.8 kB / 0.5584 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5284, allocations: 0 / 0.5584 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.5286, allocations: 23.5 kB / 0.5584 GB, free: 0.9414 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008935/0.5295, allocations: 0.8785 MB / 0.5593 GB, free: 108 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.5296, allocations: 44.61 kB / 0.5593 GB, free: 76 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5296, allocations: 0 / 0.5593 GB, free: 76 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/0.5297, allocations: 15.31 kB / 0.5593 GB, free: 64 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.5299, allocations: 25.92 kB / 0.5594 GB, free: 44 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.5303, allocations: 184.8 kB / 0.5595 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.5306, allocations: 0.7036 MB / 0.5602 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.5306, allocations: 16.42 kB / 0.5602 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.5307, allocations: 23.56 kB / 0.5603 GB, free: 15.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5307, allocations: 0 / 0.5603 GB, free: 15.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.5515, allocations: 2.288 MB / 0.5625 GB, free: 12.8 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.5518, allocations: 162.5 kB / 0.5627 GB, free: 12.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.088, allocations: 0 / 0.5627 GB, free: 12.61 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat