Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.001232/0.001232, 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.465/1.465, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008297/0.0008297, allocations: 91.86 kB / 261.8 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.2057/0.2057, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.96e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5731, allocations: 87.07 MB / 0.5511 GB, free: 7.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.5734, allocations: 81.36 kB / 0.5511 GB, free: 7.629 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01801/0.5914, allocations: 7.602 MB / 0.5586 GB, free: 1.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5915, allocations: 4 kB / 0.5586 GB, free: 1.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.033e-05/0.5915, allocations: 4 kB / 0.5586 GB, free: 1.539 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005149/0.5921, allocations: 498.7 kB / 0.559 GB, free: 1.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5921, allocations: 11.97 kB / 0.5591 GB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.5922, allocations: 27.67 kB / 0.5591 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.5926, allocations: 300.3 kB / 0.5594 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.5926, allocations: 4 kB / 0.5594 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.5927, allocations: 8 kB / 0.5594 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.27e-05/0.5928, allocations: 34.36 kB / 0.5594 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.5929, allocations: 84 kB / 0.5595 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.5929, allocations: 3.938 kB / 0.5595 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.5929, allocations: 3.984 kB / 0.5595 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5929, allocations: 7.953 kB / 0.5595 GB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.5934, allocations: 445 kB / 0.5599 GB, free: 120 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.5935, allocations: 100.8 kB / 0.56 GB, free: 20 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.963e-05/0.5936, allocations: 32.52 kB / 0.5601 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.5936, allocations: 4 kB / 0.5601 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.5938, allocations: 116 kB / 0.5602 GB, free: 15.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.5938, allocations: 3.938 kB / 0.5602 GB, free: 15.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006616/0.5945, allocations: 307.8 kB / 0.5605 GB, free: 15.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.5946, allocations: 81.11 kB / 0.5606 GB, free: 15.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.595, allocations: 376.7 kB / 0.5609 GB, free: 15.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.595, allocations: 29.7 kB / 0.5609 GB, free: 15.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.5951, allocations: 153.5 kB / 0.5611 GB, free: 15.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.5951, allocations: 53.59 kB / 0.5611 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/0.5952, allocations: 0 / 0.5611 GB, free: 15.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5953, allocations: 340.2 kB / 0.5615 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.5954, allocations: 36.05 kB / 0.5615 GB, free: 14.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.5955, allocations: 59.19 kB / 0.5616 GB, free: 14.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.725e-05/0.5956, allocations: 55.42 kB / 0.5616 GB, free: 14.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5956, allocations: 0 / 0.5616 GB, free: 14.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002376/0.5958, allocations: 163.9 kB / 0.5618 GB, free: 14.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5958, allocations: 4 kB / 0.5618 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5958, allocations: 4 kB / 0.5618 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.5959, allocations: 0 / 0.5618 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.596, allocations: 35.97 kB / 0.5618 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.596, allocations: 64 / 0.5618 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.937e-05/0.5961, allocations: 11.91 kB / 0.5618 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.5961, allocations: 11.31 kB / 0.5618 GB, free: 14.37 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: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.591e-05/0.5962, allocations: 108.9 kB / 0.5619 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002362/0.5965, allocations: 172.2 kB / 0.5621 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.5965, allocations: 27.62 kB / 0.5621 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.5968, allocations: 196.3 kB / 0.5623 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5969, allocations: 3.938 kB / 0.5623 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5969, allocations: 7.984 kB / 0.5623 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.5969, allocations: 7.984 kB / 0.5623 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006884/0.5976, allocations: 0.6338 MB / 0.5629 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5976, allocations: 0 / 0.5629 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-05/0.5977, allocations: 27.23 kB / 0.563 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.5977, allocations: 7.938 kB / 0.563 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.5977, allocations: 4.062 kB / 0.563 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5977, allocations: 4 kB / 0.563 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.5977, allocations: 3.984 kB / 0.563 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.5981, allocations: 399.4 kB / 0.5634 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5982, allocations: 123 kB / 0.5635 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.5983, allocations: 8.328 kB / 0.5635 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.5984, allocations: 4 kB / 0.5635 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.5985, allocations: 19.55 kB / 0.5635 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.5985, allocations: 11.98 kB / 0.5635 GB, free: 12.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002682/0.5988, allocations: 302.9 kB / 0.5638 GB, free: 12.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5988, allocations: 4 kB / 0.5638 GB, free: 12.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003297/0.5991, allocations: 51.84 kB / 0.5639 GB, free: 12.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.001465/0.6006, allocations: 1.423 MB / 0.5653 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.6008, allocations: 101.9 kB / 0.5654 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6008, allocations: 0 / 0.5654 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.6009, allocations: 57.92 kB / 0.5654 GB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.6013, allocations: 50.84 kB / 0.5655 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008539/0.6021, allocations: 488.1 kB / 0.5659 GB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.6025, allocations: 0.7741 MB / 0.5667 GB, free: 9.629 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.968e-05/0.6026, allocations: 46.45 kB / 0.5667 GB, free: 9.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.6027, allocations: 90.08 kB / 0.5668 GB, free: 9.547 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6027, allocations: 0 / 0.5668 GB, free: 9.547 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.6262, allocations: 5.106 MB / 0.5718 GB, free: 4.453 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/0.6265, allocations: 169 kB / 0.572 GB, free: 4.254 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.569, allocations: 0 / 0.572 GB, free: 4.254 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat