Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",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.0007114/0.0007113, allocations: 101.1 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008199/0.0008199, allocations: 182.2 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.193/0.193, allocations: 44.23 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003337, allocations: 8.219 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002742/0.1311, allocations: 1.669 MB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1328, allocations: 0.8932 MB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1329, allocations: 0 / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.1333, allocations: 35.77 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.1335, allocations: 59.75 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.1338, allocations: 119.7 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1341, allocations: 175.4 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1342, allocations: 29.66 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1343, allocations: 67.7 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1344, allocations: 71.67 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1344, allocations: 8 kB / 474.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.57e-05/0.1345, allocations: 39.94 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.1346, allocations: 31.89 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.1347, allocations: 45.58 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1348, allocations: 139.9 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1349, allocations: 4 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1349, allocations: 0 / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1349, allocations: 0 / 475 MB, free: 10.25 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008586/0.1357, allocations: 0.537 MB / 475.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1358, allocations: 15.97 kB / 475.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.818e-05/0.1359, allocations: 34.56 kB / 475.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.1359, allocations: 19.81 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1362, allocations: 239.6 kB / 475.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1362, allocations: 8 kB / 475.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.1363, allocations: 11.95 kB / 475.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.1367, allocations: 162.5 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1367, allocations: 4 kB / 476.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1367, allocations: 0 / 476.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1367, allocations: 3.938 kB / 476.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.1371, allocations: 139.9 kB / 476.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.1377, allocations: 0.5438 MB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006071/0.1384, allocations: 182.6 kB / 476.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.1386, allocations: 92.73 kB / 477 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1386, allocations: 4 kB / 477 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003933/0.139, allocations: 151.1 kB / 477.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.714e-06/0.1391, allocations: 0 / 477.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008306/0.1399, allocations: 293.3 kB / 477.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1399, allocations: 51.41 kB / 477.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.1402, allocations: 227.1 kB / 477.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1402, allocations: 33.64 kB / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.1403, allocations: 120.3 kB / 477.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.1403, allocations: 39.59 kB / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.1403, allocations: 4 kB / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1405, allocations: 338.8 kB / 478.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.1407, allocations: 75.94 kB / 478.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.141, allocations: 118.5 kB / 478.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.1412, allocations: 116.4 kB / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1413, allocations: 0 / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005958/0.1419, allocations: 271 kB / 478.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.1419, allocations: 37.69 kB / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1419, allocations: 4.125 kB / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1419, allocations: 4 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.1421, allocations: 43.91 kB / 478.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1421, allocations: 4 kB / 478.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.1423, allocations: 43.77 kB / 478.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1423, allocations: 8 kB / 479 MB, free: 6.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000112/0.1424, allocations: 130.4 kB / 479.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.1425, allocations: 15.81 kB / 479.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.1425, allocations: 21.39 kB / 479.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1426, allocations: 7.938 kB / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1426, allocations: 3.938 kB / 479.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1426, allocations: 3.984 kB / 479.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.1428, allocations: 241.4 kB / 479.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1428, allocations: 4 kB / 479.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1429, allocations: 31.97 kB / 479.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1429, allocations: 0 / 479.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.143, allocations: 4 kB / 479.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.143, allocations: 0 / 479.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.143, allocations: 7.984 kB / 479.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007942/0.1438, allocations: 336.7 kB / 479.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.1438, allocations: 96.94 kB / 479.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1439, allocations: 4 kB / 479.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.144, allocations: 32.03 kB / 479.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.1441, allocations: 19.91 kB / 479.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.1441, allocations: 8 kB / 479.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1443, allocations: 160.7 kB / 480.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1443, allocations: 0 / 480.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1445, allocations: 40 kB / 480.1 MB, free: 4.793 MB / 350.1 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001785/0.1463, allocations: 1.178 MB / 481.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005654/0.1469, allocations: 247.2 kB / 481.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1469, allocations: 0 / 481.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.1472, allocations: 92.06 kB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1475, allocations: 35.97 kB / 481.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1495, allocations: 1.175 MB / 482.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.1498, allocations: 0.7244 MB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.409e-05/0.1499, allocations: 21.53 kB / 483.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.15, allocations: 51.42 kB / 483.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.15, allocations: 0 / 483.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.1641, allocations: 4.316 MB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.1643, allocations: 221.7 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.092, allocations: 0 / 488.1 MB, free: 12.89 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat