Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008385/0.0008385, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008643/0.0008644, allocations: 183.5 kB / 16.59 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3704/0.3704, allocations: 43.56 MB / 314.6 MB, free: 9.016 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005868/0.0005874, allocations: 18.97 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1325, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002543/0.1351, allocations: 1.614 MB / 444.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1367, allocations: 0.9059 MB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1369, allocations: 3.938 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006531/0.1375, allocations: 171.6 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.1379, allocations: 127.5 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.1384, allocations: 171.7 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.1388, allocations: 219.3 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1389, allocations: 21.66 kB / 446.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.1391, allocations: 95.55 kB / 446.2 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1393, allocations: 99.58 kB / 446.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.1393, allocations: 4 kB / 446.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1395, allocations: 47.97 kB / 446.4 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/0.1396, allocations: 51.77 kB / 446.4 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.563e-05/0.1396, allocations: 53.64 kB / 446.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.1399, allocations: 167.9 kB / 446.6 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1399, allocations: 7.938 kB / 446.6 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.1399, allocations: 0 / 446.6 MB, free: 9.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1399, allocations: 3.938 kB / 446.6 MB, free: 9.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008563/0.1408, allocations: 0.5116 MB / 447.1 MB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1408, allocations: 12.03 kB / 447.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.091e-05/0.1409, allocations: 34.56 kB / 447.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.141, allocations: 23.66 kB / 447.2 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.1414, allocations: 278.4 kB / 447.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.1414, allocations: 7.938 kB / 447.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1414, allocations: 8 kB / 447.5 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.1417, allocations: 100.2 kB / 447.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1417, allocations: 4 kB / 447.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1418, allocations: 3.953 kB / 447.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1418, allocations: 4 kB / 447.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1419, allocations: 43.91 kB / 447.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.1424, allocations: 369.6 kB / 448 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.1427, allocations: 121.2 kB / 448.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.1428, allocations: 45.69 kB / 448.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1428, allocations: 3.953 kB / 448.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.1431, allocations: 117 kB / 448.3 MB, free: 7.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.824e-06/0.1431, allocations: 0 / 448.3 MB, free: 7.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004309/0.1435, allocations: 173.3 kB / 448.5 MB, free: 7.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.1436, allocations: 110.8 kB / 448.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.1439, allocations: 334.9 kB / 448.9 MB, free: 6.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.144, allocations: 29.7 kB / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1441, allocations: 144 kB / 449.1 MB, free: 6.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1441, allocations: 23.62 kB / 449.1 MB, free: 6.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-06/0.1441, allocations: 4 kB / 449.1 MB, free: 6.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1443, allocations: 334.8 kB / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.1444, allocations: 39.91 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1445, allocations: 77.08 kB / 449.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.261e-05/0.1446, allocations: 39.98 kB / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1446, allocations: 0 / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002664/0.1449, allocations: 149.2 kB / 449.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1449, allocations: 7.984 kB / 449.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1449, allocations: 96 / 449.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1449, allocations: 8.625 kB / 449.7 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.145, allocations: 16 kB / 449.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1451, allocations: 4 kB / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/0.1451, allocations: 15.98 kB / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1452, allocations: 7.938 kB / 449.8 MB, free: 5.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000139/0.1453, allocations: 157.8 kB / 449.9 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.1454, allocations: 27.67 kB / 450 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.1454, allocations: 29.73 kB / 450 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1454, allocations: 4 kB / 450 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1454, allocations: 0 / 450 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1454, allocations: 3.984 kB / 450 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.1457, allocations: 253.5 kB / 450.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1457, allocations: 3.938 kB / 450.2 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.1457, allocations: 8 kB / 450.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1457, allocations: 0 / 450.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1458, allocations: 7.953 kB / 450.3 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.1458, allocations: 7.922 kB / 450.3 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1458, allocations: 0 / 450.3 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.1461, allocations: 185.5 kB / 450.5 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.1462, allocations: 104.8 kB / 450.6 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.1462, allocations: 4 kB / 450.6 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.1463, allocations: 11.94 kB / 450.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.1464, allocations: 11.98 kB / 450.6 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1464, allocations: 8 kB / 450.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.1466, allocations: 241.9 kB / 450.8 MB, free: 4.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1466, allocations: 0 / 450.8 MB, free: 4.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.1469, allocations: 35.98 kB / 450.9 MB, free: 4.777 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001497/0.1484, allocations: 1.033 MB / 451.9 MB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.1487, allocations: 83.91 kB / 452 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1487, allocations: 0 / 452 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1488, allocations: 51.91 kB / 452 MB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1492, allocations: 65.23 kB / 452.1 MB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.1513, allocations: 1.248 MB / 453.3 MB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.1516, allocations: 0.744 MB / 454.1 MB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.1518, allocations: 37.92 kB / 454.1 MB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.1519, allocations: 67.41 kB / 454.2 MB, free: 1.371 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1519, allocations: 0 / 454.2 MB, free: 1.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2097/0.3616, allocations: 4.987 MB / 459.2 MB, free: 45.41 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/0.3618, allocations: 228.2 kB / 459.4 MB, free: 45.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.082, allocations: 3.5 kB / 459.4 MB, free: 45.16 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat