Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.00135/0.00135, allocations: 176.7 kB / 8.008 MB, free: 1.066 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.685/1.685, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0009261/0.000926, allocations: 90.2 kB / 261.7 MB, free: 1.688 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.2239/0.2239, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.234e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3953/0.5125, allocations: 87 MB / 0.551 GB, free: 7.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5128, allocations: 71.88 kB / 0.5511 GB, free: 7.621 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.526, allocations: 5.534 MB / 0.5565 GB, free: 3.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5261, allocations: 0 / 0.5565 GB, free: 3.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.5261, allocations: 0 / 0.5565 GB, free: 3.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004167/0.5265, allocations: 436.4 kB / 0.5569 GB, free: 2.973 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.5266, allocations: 12.03 kB / 0.5569 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.5266, allocations: 11.81 kB / 0.5569 GB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.527, allocations: 252.4 kB / 0.5572 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.527, allocations: 4 kB / 0.5572 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.5271, allocations: 0 / 0.5572 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.45e-05/0.5272, allocations: 30.36 kB / 0.5572 GB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.5273, allocations: 95.41 kB / 0.5573 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.5273, allocations: 0 / 0.5573 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.5273, allocations: 0 / 0.5573 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5273, allocations: 0 / 0.5573 GB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.5275, allocations: 200 kB / 0.5575 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.5277, allocations: 95.47 kB / 0.5576 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.5277, allocations: 41.47 kB / 0.5576 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.5277, allocations: 0 / 0.5576 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.5279, allocations: 105 kB / 0.5577 GB, free: 2.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.5279, allocations: 7.938 kB / 0.5577 GB, free: 2.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002502/0.5281, allocations: 125.6 kB / 0.5578 GB, free: 1.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.5282, allocations: 132.5 kB / 0.5579 GB, free: 1.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.5284, allocations: 193 kB / 0.5581 GB, free: 1.656 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.5284, allocations: 25.7 kB / 0.5582 GB, free: 1.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.5284, allocations: 111.1 kB / 0.5583 GB, free: 1.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.5285, allocations: 34.8 kB / 0.5583 GB, free: 1.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.5285, allocations: 0 / 0.5583 GB, free: 1.504 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.5285, allocations: 326.3 kB / 0.5586 GB, free: 1.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.5286, allocations: 26.69 kB / 0.5586 GB, free: 1.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.237e-05/0.5286, allocations: 60.83 kB / 0.5587 GB, free: 1.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.182e-05/0.5287, allocations: 36.75 kB / 0.5587 GB, free: 1.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5287, allocations: 0 / 0.5587 GB, free: 1.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001467/0.5289, allocations: 126 kB / 0.5588 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5289, allocations: 4 kB / 0.5589 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5289, allocations: 0 / 0.5589 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5289, allocations: 4 kB / 0.5589 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.529, allocations: 19.98 kB / 0.5589 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5291, allocations: 4 kB / 0.5589 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.527e-05/0.5291, allocations: 7.984 kB / 0.5589 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.5292, allocations: 7.812 kB / 0.5589 GB, free: 0.918 MB / 362.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: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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 6.361e-05/0.5292, allocations: 116.9 kB / 0.559 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001516/0.5294, allocations: 132.1 kB / 0.5591 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.5294, allocations: 19.72 kB / 0.5591 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.5296, allocations: 145.8 kB / 0.5593 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5296, allocations: 0 / 0.5593 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5296, allocations: 3.938 kB / 0.5593 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5296, allocations: 4 kB / 0.5593 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.5298, allocations: 201.3 kB / 0.5595 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5298, allocations: 0 / 0.5595 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.5298, allocations: 15.94 kB / 0.5595 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.5298, allocations: 0 / 0.5595 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.5299, allocations: 7.984 kB / 0.5595 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5299, allocations: 0 / 0.5595 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5299, allocations: 0 / 0.5595 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.53, allocations: 177.6 kB / 0.5597 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.5301, allocations: 100.7 kB / 0.5598 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.5301, allocations: 4 kB / 0.5598 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.5302, allocations: 8.031 kB / 0.5598 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.5303, allocations: 11.69 kB / 0.5598 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.5303, allocations: 4 kB / 0.5598 GB, free: 15.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.5304, allocations: 156.4 kB / 0.56 GB, free: 15.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.934e-06/0.5304, allocations: 7.875 kB / 0.56 GB, free: 15.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.5307, allocations: 47.69 kB / 0.56 GB, free: 15.81 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00125/0.532, allocations: 1.071 MB / 0.561 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.5321, allocations: 75.23 kB / 0.5611 GB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5321, allocations: 0 / 0.5611 GB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.957e-05/0.5322, allocations: 43.56 kB / 0.5612 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.5325, allocations: 43.44 kB / 0.5612 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.5331, allocations: 254.8 kB / 0.5614 GB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.5335, allocations: 0.7239 MB / 0.5622 GB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.304e-05/0.5336, allocations: 29.3 kB / 0.5622 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.5337, allocations: 54.41 kB / 0.5622 GB, free: 13.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5337, allocations: 7.938 kB / 0.5622 GB, free: 13.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.5598, allocations: 3.808 MB / 0.566 GB, free: 9.797 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.5601, allocations: 169.4 kB / 0.5661 GB, free: 9.598 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.161, allocations: 0 / 0.5661 GB, free: 9.598 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat