Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.00115/0.00115, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.589/1.589, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.001016/0.001016, allocations: 90.53 kB / 267 MB, free: 9.27 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.5466/0.5466, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.99e-05/5.003e-05, allocations: 7.984 kB / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1525, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5296/0.6821, allocations: 87.61 MB / 0.5585 GB, free: 16.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.6824, allocations: 78.28 kB / 0.5586 GB, free: 16.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01456/0.697, allocations: 5.36 MB / 0.5638 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6971, allocations: 0.5469 kB / 0.5638 GB, free: 13.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.6971, allocations: 7.984 kB / 0.5638 GB, free: 13.34 MB / 394.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.0004856/0.6976, allocations: 404.8 kB / 0.5642 GB, free: 12.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.6976, allocations: 8.031 kB / 0.5642 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.6977, allocations: 30.56 kB / 0.5642 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.6978, allocations: 14.84 kB / 0.5642 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.6981, allocations: 218.4 kB / 0.5644 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.6981, allocations: 4 kB / 0.5644 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.6981, allocations: 0 / 0.5644 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.6983, allocations: 60.34 kB / 0.5645 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6983, allocations: 8 kB / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.6983, allocations: 5 kB / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.6983, allocations: 0 / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.836e-05/0.6984, allocations: 18 kB / 0.5645 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.6988, allocations: 288.7 kB / 0.5648 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.6989, allocations: 55.92 kB / 0.5649 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.699, allocations: 21.47 kB / 0.5649 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.699, allocations: 0 / 0.5649 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.6991, allocations: 71.94 kB / 0.5649 GB, free: 12.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.546e-06/0.6991, allocations: 3.984 kB / 0.565 GB, free: 12.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004807/0.6996, allocations: 162.6 kB / 0.5651 GB, free: 12.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.6997, allocations: 51.41 kB / 0.5652 GB, free: 11.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.6998, allocations: 171.3 kB / 0.5653 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.6999, allocations: 29.7 kB / 0.5653 GB, free: 11.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.6999, allocations: 100.6 kB / 0.5654 GB, free: 11.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.6999, allocations: 22.47 kB / 0.5655 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.6999, allocations: 0 / 0.5655 GB, free: 11.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.7, allocations: 324.5 kB / 0.5658 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.471e-05/0.7, allocations: 19.97 kB / 0.5658 GB, free: 11.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.7001, allocations: 44.58 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.7001, allocations: 25.81 kB / 0.5659 GB, free: 11.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.7002, allocations: 0 / 0.5659 GB, free: 11.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001295/0.7003, allocations: 96.14 kB / 0.566 GB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.7003, allocations: 8 kB / 0.566 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7003, allocations: 0 / 0.566 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.7003, allocations: 0 / 0.566 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.7004, allocations: 17.62 kB / 0.566 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.7005, allocations: 9.219 kB / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.7005, allocations: 3.375 kB / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.7005, allocations: 8.188 kB / 0.566 GB, free: 11.16 MB / 394.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.426e-05/0.7006, allocations: 112.2 kB / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.7006, allocations: 7.906 kB / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.7008, allocations: 123.4 kB / 0.5662 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.7008, allocations: 0 / 0.5662 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.7008, allocations: 0 / 0.5662 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.7008, allocations: 3.953 kB / 0.5662 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.7012, allocations: 410.5 kB / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7012, allocations: 0 / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.7012, allocations: 19.42 kB / 0.5666 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.7012, allocations: 0 / 0.5666 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.7013, allocations: 12.73 kB / 0.5667 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.7013, allocations: 4 kB / 0.5667 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7013, allocations: 0 / 0.5667 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.7014, allocations: 219 kB / 0.5669 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.7015, allocations: 92.94 kB / 0.567 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.7015, allocations: 11.33 kB / 0.567 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.7016, allocations: 0 / 0.567 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.7016, allocations: 7.984 kB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.7017, allocations: 7.938 kB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.638e-05/0.7017, allocations: 137.4 kB / 0.5671 GB, free: 10.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7018, allocations: 0 / 0.5671 GB, free: 10.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.702, allocations: 35.69 kB / 0.5671 GB, free: 9.992 MB / 394.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.001244/0.7033, allocations: 1.137 MB / 0.5683 GB, free: 8.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.7034, allocations: 53.19 kB / 0.5683 GB, free: 8.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7034, allocations: 4 kB / 0.5683 GB, free: 8.879 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.254e-05/0.7035, allocations: 30.5 kB / 0.5683 GB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.7037, allocations: 26.61 kB / 0.5684 GB, free: 8.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.7042, allocations: 228.2 kB / 0.5686 GB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.7043, allocations: 0.7082 MB / 0.5693 GB, free: 7.859 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.046e-05/0.7044, allocations: 16.86 kB / 0.5693 GB, free: 7.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.7045, allocations: 35.36 kB / 0.5693 GB, free: 7.824 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7045, allocations: 0 / 0.5693 GB, free: 7.824 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.7187, allocations: 3.011 MB / 0.5723 GB, free: 4.848 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.7189, allocations: 183.6 kB / 0.5724 GB, free: 4.625 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.345, allocations: 4.062 kB / 0.5724 GB, free: 4.621 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat