Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.0009742/0.0009743, allocations: 180.9 kB / 8.006 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.543/1.543, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008412/0.0008411, allocations: 90.62 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.198/0.198, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.355e-05, allocations: 8 kB / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 58.86 MB / 477.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.4693, allocations: 86.96 MB / 0.551 GB, free: 7.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4696, allocations: 75.92 kB / 0.551 GB, free: 7.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01315/0.4828, allocations: 5.589 MB / 0.5565 GB, free: 3.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4828, allocations: 0 / 0.5565 GB, free: 3.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.4828, allocations: 4 kB / 0.5565 GB, free: 3.391 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003458/0.4832, allocations: 401.7 kB / 0.5569 GB, free: 2.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4832, allocations: 8.031 kB / 0.5569 GB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.4833, allocations: 15.81 kB / 0.5569 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.4835, allocations: 233.8 kB / 0.5571 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4835, allocations: 4.75 kB / 0.5571 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.4836, allocations: 7.984 kB / 0.5571 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.421e-05/0.4836, allocations: 15.81 kB / 0.5571 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.934e-05/0.4837, allocations: 48.73 kB / 0.5572 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4837, allocations: 4 kB / 0.5572 GB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4837, allocations: 0 / 0.5572 GB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4838, allocations: 0 / 0.5572 GB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.484, allocations: 274.5 kB / 0.5575 GB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.121e-05/0.4841, allocations: 61.44 kB / 0.5575 GB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.4842, allocations: 20.3 kB / 0.5575 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.4842, allocations: 0 / 0.5575 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.924e-05/0.4843, allocations: 66.27 kB / 0.5576 GB, free: 2.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.4843, allocations: 0 / 0.5576 GB, free: 2.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003547/0.4847, allocations: 151.9 kB / 0.5577 GB, free: 2.043 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.4847, allocations: 58.78 kB / 0.5578 GB, free: 1.977 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.4849, allocations: 216 kB / 0.558 GB, free: 1.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.4849, allocations: 28.64 kB / 0.558 GB, free: 1.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.4849, allocations: 108 kB / 0.5581 GB, free: 1.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.4849, allocations: 25.41 kB / 0.5582 GB, free: 1.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.4849, allocations: 0 / 0.5582 GB, free: 1.645 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.615e-05/0.485, allocations: 329.4 kB / 0.5585 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.485, allocations: 18.81 kB / 0.5585 GB, free: 1.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.401e-05/0.4851, allocations: 36.91 kB / 0.5585 GB, free: 1.273 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.4851, allocations: 19.11 kB / 0.5585 GB, free: 1.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4851, allocations: 0 / 0.5585 GB, free: 1.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001111/0.4852, allocations: 91.62 kB / 0.5586 GB, free: 1.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4853, allocations: 8 kB / 0.5586 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.4853, allocations: 0 / 0.5586 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.4853, allocations: 0 / 0.5586 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.4854, allocations: 20.11 kB / 0.5587 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.4854, allocations: 8.031 kB / 0.5587 GB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.4854, allocations: 4 kB / 0.5587 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4854, allocations: 7.953 kB / 0.5587 GB, free: 1.133 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 (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 4.511e-05/0.4855, allocations: 102.4 kB / 0.5588 GB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001094/0.4856, allocations: 107.5 kB / 0.5589 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.4856, allocations: 15.81 kB / 0.5589 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.4858, allocations: 112 kB / 0.559 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4858, allocations: 0 / 0.559 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4858, allocations: 11.95 kB / 0.559 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4858, allocations: 288 / 0.559 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.4861, allocations: 393.4 kB / 0.5594 GB, free: 436 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4861, allocations: 0 / 0.5594 GB, free: 436 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.4862, allocations: 11.94 kB / 0.5594 GB, free: 424 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4862, allocations: 0 / 0.5594 GB, free: 424 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.4862, allocations: 7.984 kB / 0.5594 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4862, allocations: 7.891 kB / 0.5594 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4862, allocations: 0 / 0.5594 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.4864, allocations: 219.6 kB / 0.5596 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.4864, allocations: 96.86 kB / 0.5597 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.4864, allocations: 11.06 kB / 0.5597 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.4865, allocations: 4 kB / 0.5597 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.4866, allocations: 4 kB / 0.5597 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.4866, allocations: 11.98 kB / 0.5597 GB, free: 36 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.4867, allocations: 168.2 kB / 0.5599 GB, free: 15.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4867, allocations: 0 / 0.5599 GB, free: 15.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.487, allocations: 39.92 kB / 0.5599 GB, free: 15.86 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: 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.001152/0.4882, allocations: 1.103 MB / 0.561 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.4883, allocations: 53.67 kB / 0.5611 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4883, allocations: 0 / 0.5611 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.732e-05/0.4883, allocations: 30.69 kB / 0.5611 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.4886, allocations: 19.3 kB / 0.5611 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.4891, allocations: 265.2 kB / 0.5614 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.4894, allocations: 0.7234 MB / 0.5621 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.911e-05/0.4895, allocations: 24.53 kB / 0.5621 GB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.4896, allocations: 42.3 kB / 0.5621 GB, free: 13.66 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4896, allocations: 0 / 0.5621 GB, free: 13.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.5092, allocations: 2.949 MB / 0.565 GB, free: 10.72 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.5095, allocations: 169.2 kB / 0.5652 GB, free: 10.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.031, allocations: 0 / 0.5652 GB, free: 10.52 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat