Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.001052/0.001052, 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.371/1.371, 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.0008452/0.0008451, allocations: 86.64 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.1945/0.1945, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.198e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4787, allocations: 87.94 MB / 0.5519 GB, free: 6.957 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.479, allocations: 77.98 kB / 0.552 GB, free: 6.918 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.489, allocations: 4.212 MB / 0.5561 GB, free: 3.609 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4891, allocations: 3.984 kB / 0.5561 GB, free: 3.605 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.4891, allocations: 8 kB / 0.5561 GB, free: 3.598 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000414/0.4895, allocations: 459.5 kB / 0.5566 GB, free: 3.109 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.4895, allocations: 8.031 kB / 0.5566 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.4896, allocations: 11.91 kB / 0.5566 GB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.4899, allocations: 233.5 kB / 0.5568 GB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4899, allocations: 3.812 kB / 0.5568 GB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.4899, allocations: 4 kB / 0.5568 GB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.649e-05/0.49, allocations: 31.36 kB / 0.5568 GB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.4901, allocations: 95.27 kB / 0.5569 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.4902, allocations: 0 / 0.5569 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4902, allocations: 3.984 kB / 0.5569 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.4902, allocations: 0 / 0.5569 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.4906, allocations: 0.4979 MB / 0.5574 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.4908, allocations: 80.3 kB / 0.5575 GB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.4909, allocations: 32.61 kB / 0.5575 GB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.4909, allocations: 0 / 0.5575 GB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.491, allocations: 68.77 kB / 0.5576 GB, free: 2.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.491, allocations: 4 kB / 0.5576 GB, free: 2.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001815/0.4912, allocations: 111.4 kB / 0.5577 GB, free: 1.934 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.457e-05/0.4912, allocations: 55.41 kB / 0.5578 GB, free: 1.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4913, allocations: 168 kB / 0.5579 GB, free: 1.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.4913, allocations: 29.7 kB / 0.5579 GB, free: 1.672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.4914, allocations: 109.7 kB / 0.558 GB, free: 1.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.4914, allocations: 27.31 kB / 0.5581 GB, free: 1.555 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.4914, allocations: 0 / 0.5581 GB, free: 1.555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.4915, allocations: 334 kB / 0.5584 GB, free: 1.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.4915, allocations: 18.81 kB / 0.5584 GB, free: 1.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.224e-05/0.4916, allocations: 54.3 kB / 0.5585 GB, free: 1.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.4916, allocations: 33.3 kB / 0.5585 GB, free: 1.133 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4916, allocations: 0 / 0.5585 GB, free: 1.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001403/0.4918, allocations: 121.1 kB / 0.5586 GB, free: 1.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4918, allocations: 8 kB / 0.5586 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4918, allocations: 0 / 0.5586 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4918, allocations: 4 kB / 0.5586 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.4919, allocations: 19.98 kB / 0.5586 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4919, allocations: 7.953 kB / 0.5586 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.492, allocations: 11.92 kB / 0.5587 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.492, allocations: 8 kB / 0.5587 GB, free: 0.9648 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 5.386e-05/0.4921, allocations: 112.2 kB / 0.5588 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001195/0.4922, allocations: 101.5 kB / 0.5589 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.4922, allocations: 15.81 kB / 0.5589 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.4924, allocations: 117.3 kB / 0.559 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4924, allocations: 0 / 0.559 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.4924, allocations: 0 / 0.559 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4924, allocations: 0 / 0.559 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.4925, allocations: 189.9 kB / 0.5592 GB, free: 456 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4925, allocations: 0 / 0.5592 GB, free: 456 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/0.4926, allocations: 15.98 kB / 0.5592 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4926, allocations: 4 kB / 0.5592 GB, free: 436 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4927, allocations: 7.438 kB / 0.5592 GB, free: 432 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4927, allocations: 0 / 0.5592 GB, free: 432 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4927, allocations: 3.953 kB / 0.5592 GB, free: 428 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.4929, allocations: 165.2 kB / 0.5594 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.4929, allocations: 92.89 kB / 0.5594 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.4929, allocations: 7.984 kB / 0.5595 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.493, allocations: 8.062 kB / 0.5595 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.4931, allocations: 7.984 kB / 0.5595 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.4931, allocations: 11.27 kB / 0.5595 GB, free: 132 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.075e-05/0.4931, allocations: 128.6 kB / 0.5596 GB, free: 20 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4931, allocations: 3.938 kB / 0.5596 GB, free: 16 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.4934, allocations: 31.67 kB / 0.5596 GB, free: 15.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001142/0.4946, allocations: 0.9484 MB / 0.5606 GB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.4947, allocations: 65.55 kB / 0.5606 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4947, allocations: 4 kB / 0.5606 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.572e-05/0.4948, allocations: 27.12 kB / 0.5607 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.495, allocations: 35.84 kB / 0.5607 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.4956, allocations: 238.1 kB / 0.5609 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4959, allocations: 0.7162 MB / 0.5616 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.924e-05/0.4959, allocations: 25.19 kB / 0.5616 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.496, allocations: 44.23 kB / 0.5617 GB, free: 13.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.496, allocations: 0 / 0.5617 GB, free: 13.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.5178, allocations: 2.932 MB / 0.5645 GB, free: 11.03 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.5181, allocations: 166.5 kB / 0.5647 GB, free: 10.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.059, allocations: 0 / 0.5647 GB, free: 10.84 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat