Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",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.001115/0.001115, 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.587/1.587, 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.000874/0.000874, allocations: 86.41 kB / 261.7 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.2206/0.2206, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.266e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.5356, allocations: 86.91 MB / 0.5509 GB, free: 7.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/0.5359, allocations: 85.22 kB / 0.551 GB, free: 7.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01201/0.5479, allocations: 5.131 MB / 0.556 GB, free: 3.652 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5479, allocations: 0 / 0.556 GB, free: 3.652 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.5479, allocations: 7.938 kB / 0.556 GB, free: 3.645 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.0003435/0.5483, allocations: 390.3 kB / 0.5564 GB, free: 3.227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5483, allocations: 12.03 kB / 0.5564 GB, free: 3.215 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.5484, allocations: 11.22 kB / 0.5564 GB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.5486, allocations: 210.3 kB / 0.5566 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.5487, allocations: 0 / 0.5566 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.5487, allocations: 4 kB / 0.5566 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.223e-05/0.5488, allocations: 19.42 kB / 0.5566 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.123e-05/0.5488, allocations: 47.44 kB / 0.5567 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5489, allocations: 0 / 0.5567 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.5489, allocations: 7.984 kB / 0.5567 GB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5489, allocations: 7.984 kB / 0.5567 GB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.5492, allocations: 267.7 kB / 0.5569 GB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.056e-05/0.5493, allocations: 45.33 kB / 0.557 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.5493, allocations: 23.78 kB / 0.557 GB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.5494, allocations: 0 / 0.557 GB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.5495, allocations: 69.66 kB / 0.5571 GB, free: 2.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.5495, allocations: 0 / 0.5571 GB, free: 2.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004124/0.5499, allocations: 140.3 kB / 0.5572 GB, free: 2.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.55, allocations: 59.28 kB / 0.5573 GB, free: 2.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.5501, allocations: 146.7 kB / 0.5574 GB, free: 2.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.5501, allocations: 29.69 kB / 0.5574 GB, free: 2.102 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.5501, allocations: 97.52 kB / 0.5575 GB, free: 2.012 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.5502, allocations: 26.77 kB / 0.5576 GB, free: 1.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.5502, allocations: 0 / 0.5576 GB, free: 1.988 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.5502, allocations: 324.1 kB / 0.5579 GB, free: 1.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.5503, allocations: 14.25 kB / 0.5579 GB, free: 1.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.5503, allocations: 31.72 kB / 0.5579 GB, free: 1.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.741e-05/0.5504, allocations: 22.48 kB / 0.5579 GB, free: 1.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5504, allocations: 0 / 0.5579 GB, free: 1.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001221/0.5505, allocations: 90.58 kB / 0.558 GB, free: 1.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.5505, allocations: 12.03 kB / 0.558 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.5505, allocations: 0 / 0.558 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5506, allocations: 0 / 0.558 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.5507, allocations: 15.98 kB / 0.558 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5507, allocations: 4 kB / 0.558 GB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.5507, allocations: 3.906 kB / 0.558 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.5507, allocations: 7.953 kB / 0.5581 GB, free: 1.496 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 6.235e-05/0.5508, allocations: 112.4 kB / 0.5582 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001182/0.5509, allocations: 88.39 kB / 0.5582 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.551, allocations: 11.91 kB / 0.5583 GB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.5511, allocations: 112.8 kB / 0.5584 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5512, allocations: 0 / 0.5584 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5512, allocations: 3.953 kB / 0.5584 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5512, allocations: 0 / 0.5584 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.5515, allocations: 367.3 kB / 0.5587 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5515, allocations: 0 / 0.5587 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.5515, allocations: 16.02 kB / 0.5587 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5515, allocations: 0 / 0.5587 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5515, allocations: 7.812 kB / 0.5587 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.5516, allocations: 3.953 kB / 0.5587 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5516, allocations: 0 / 0.5587 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.5517, allocations: 209.5 kB / 0.5589 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.5518, allocations: 96.69 kB / 0.559 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.5518, allocations: 3.953 kB / 0.559 GB, free: 476 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.5519, allocations: 7.938 kB / 0.559 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.5519, allocations: 7.984 kB / 0.5591 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.5519, allocations: 4 kB / 0.5591 GB, free: 456 kB / 362.7 MB Notification: Performance of sorting global known variables: time 6.595e-05/0.552, allocations: 122.1 kB / 0.5592 GB, free: 348 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.552, allocations: 0 / 0.5592 GB, free: 348 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.000243/0.5523, allocations: 27.38 kB / 0.5592 GB, free: 324 kB / 362.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.001251/0.5535, allocations: 1.115 MB / 0.5603 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.5537, allocations: 45.25 kB / 0.5603 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5537, allocations: 0 / 0.5603 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.504e-05/0.5537, allocations: 30.75 kB / 0.5604 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.554, allocations: 27.53 kB / 0.5604 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.5546, allocations: 196 kB / 0.5606 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.5549, allocations: 0.7079 MB / 0.5613 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.821e-05/0.5549, allocations: 8.562 kB / 0.5613 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.555, allocations: 33.11 kB / 0.5613 GB, free: 14.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.555, allocations: 4 kB / 0.5613 GB, free: 14.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.5774, allocations: 2.507 MB / 0.5638 GB, free: 11.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.5777, allocations: 165.3 kB / 0.5639 GB, free: 11.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/2.034, allocations: 3.938 kB / 0.5639 GB, free: 11.5 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat