Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",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.001038/0.001038, allocations: 183.3 kB / 15.76 MB, free: 6.367 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.843/1.843, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001158/0.001158, allocations: 86.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2416/0.2416, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 58.87 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.5967, allocations: 87.93 MB / 0.5647 GB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5971, allocations: 78.64 kB / 0.5648 GB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01579/0.6129, allocations: 5.968 MB / 0.5706 GB, free: 6.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.337e-06/0.6129, allocations: 0 / 0.5706 GB, free: 6.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.613, allocations: 4 kB / 0.5706 GB, free: 6.906 MB / 378.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.0006299/0.6136, allocations: 413.9 kB / 0.571 GB, free: 6.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.6137, allocations: 8.031 kB / 0.571 GB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.6137, allocations: 33.88 kB / 0.5711 GB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.6138, allocations: 7.906 kB / 0.5711 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.6142, allocations: 216.9 kB / 0.5713 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.6142, allocations: 8 kB / 0.5713 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.6143, allocations: 3.5 kB / 0.5713 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.6145, allocations: 74.88 kB / 0.5714 GB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.6145, allocations: 3.906 kB / 0.5714 GB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.6145, allocations: 3.938 kB / 0.5714 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.6145, allocations: 0 / 0.5714 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.91e-05/0.6146, allocations: 26 kB / 0.5714 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.6151, allocations: 289.1 kB / 0.5717 GB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.6153, allocations: 62.11 kB / 0.5717 GB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.6153, allocations: 0 / 0.5717 GB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.6155, allocations: 67.08 kB / 0.5718 GB, free: 5.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.6155, allocations: 0 / 0.5718 GB, free: 5.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006034/0.6161, allocations: 166.8 kB / 0.572 GB, free: 5.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.6162, allocations: 89.05 kB / 0.572 GB, free: 5.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.6163, allocations: 148.1 kB / 0.5722 GB, free: 5.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.6164, allocations: 29.7 kB / 0.5722 GB, free: 5.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.6164, allocations: 87.83 kB / 0.5723 GB, free: 5.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.6165, allocations: 23.58 kB / 0.5723 GB, free: 5.098 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-06/0.6165, allocations: 7.25 kB / 0.5723 GB, free: 5.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6166, allocations: 318.7 kB / 0.5726 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.6167, allocations: 23.36 kB / 0.5727 GB, free: 4.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.565e-05/0.6168, allocations: 46.31 kB / 0.5727 GB, free: 4.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.039e-05/0.6168, allocations: 19.5 kB / 0.5727 GB, free: 4.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.6168, allocations: 0 / 0.5727 GB, free: 4.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001835/0.617, allocations: 104.6 kB / 0.5728 GB, free: 4.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.6171, allocations: 11.95 kB / 0.5728 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6171, allocations: 0 / 0.5728 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.6171, allocations: 4.062 kB / 0.5728 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.6172, allocations: 12 kB / 0.5728 GB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.6172, allocations: 7.984 kB / 0.5729 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.6173, allocations: 7.844 kB / 0.5729 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.6173, allocations: 4 kB / 0.5729 GB, free: 4.57 MB / 378.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 () * Number of clocked 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 0.0001208/0.6174, allocations: 125.6 kB / 0.573 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.6175, allocations: 7.906 kB / 0.573 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.6177, allocations: 129.7 kB / 0.5731 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6178, allocations: 8 kB / 0.5731 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6178, allocations: 96 / 0.5731 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6178, allocations: 7.922 kB / 0.5731 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.6183, allocations: 398.2 kB / 0.5735 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6183, allocations: 3.953 kB / 0.5735 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.6184, allocations: 19.88 kB / 0.5735 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6184, allocations: 0 / 0.5735 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.6184, allocations: 0 / 0.5735 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6184, allocations: 8.031 kB / 0.5735 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6184, allocations: 0 / 0.5735 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.6187, allocations: 224.3 kB / 0.5738 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.6188, allocations: 92.91 kB / 0.5738 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.6188, allocations: 3.875 kB / 0.5738 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.6189, allocations: 8 kB / 0.5739 GB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.6189, allocations: 7.984 kB / 0.5739 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.6189, allocations: 0 / 0.5739 GB, free: 3.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.677e-05/0.619, allocations: 126 kB / 0.574 GB, free: 3.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.619, allocations: 0 / 0.574 GB, free: 3.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002871/0.6193, allocations: 31.56 kB / 0.574 GB, free: 3.395 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) * Number of clocked states: 0 () * 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.001545/0.6209, allocations: 1.234 MB / 0.5752 GB, free: 2.223 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.6211, allocations: 63.03 kB / 0.5753 GB, free: 2.176 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6211, allocations: 4 kB / 0.5753 GB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.6212, allocations: 31.41 kB / 0.5753 GB, free: 2.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.6214, allocations: 27.48 kB / 0.5753 GB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.6226, allocations: 0.799 MB / 0.5761 GB, free: 1.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.6229, allocations: 0.7004 MB / 0.5768 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.03e-05/0.623, allocations: 20.83 kB / 0.5768 GB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.6231, allocations: 34.92 kB / 0.5769 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6231, allocations: 0 / 0.5769 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.639, allocations: 3.081 MB / 0.5799 GB, free: 13.49 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.6392, allocations: 218.3 kB / 0.5801 GB, free: 13.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.24, allocations: 112 / 0.5801 GB, free: 13.25 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat