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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.001029, allocations: 95.89 kB / 15.68 MB, free: 488 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.001114/0.001114, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.412/1.412, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3293/0.3293, allocations: 43.54 MB / 314.5 MB, free: 9.062 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.0005304/0.0005304, allocations: 16 kB / 383.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002411/0.1305, allocations: 1.6 MB / 444.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.132, allocations: 0.867 MB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1322, allocations: 3.938 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.1328, allocations: 175.6 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1332, allocations: 127.6 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.1337, allocations: 171.6 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.1339, allocations: 159.7 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.134, allocations: 17.67 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.1342, allocations: 91.61 kB / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1344, allocations: 95.58 kB / 446 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1344, allocations: 4 kB / 446 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1345, allocations: 35.92 kB / 446.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.1346, allocations: 39.89 kB / 446.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.1347, allocations: 65.56 kB / 446.2 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.1349, allocations: 175.8 kB / 446.4 MB, free: 9.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.135, allocations: 0 / 446.4 MB, free: 9.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.135, allocations: 0 / 446.4 MB, free: 9.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.135, allocations: 0 / 446.4 MB, free: 9.656 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.0008524/0.1358, allocations: 0.5194 MB / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1359, allocations: 8.031 kB / 446.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.136, allocations: 27.7 kB / 446.9 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.1364, allocations: 278.4 kB / 447.2 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1364, allocations: 4 kB / 447.2 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1364, allocations: 4 kB / 447.2 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1367, allocations: 112.1 kB / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1367, allocations: 0 / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1367, allocations: 0 / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1367, allocations: 3.953 kB / 447.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.1368, allocations: 35.98 kB / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.1374, allocations: 381.5 kB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.1377, allocations: 117.4 kB / 447.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1377, allocations: 4 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.138, allocations: 113.1 kB / 447.9 MB, free: 7.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.138, allocations: 0 / 447.9 MB, free: 7.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004641/0.1384, allocations: 177.3 kB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.1385, allocations: 110.8 kB / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.1388, allocations: 334.9 kB / 448.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1389, allocations: 29.7 kB / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.139, allocations: 144.1 kB / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.139, allocations: 27.61 kB / 448.7 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.1391, allocations: 8 kB / 448.8 MB, free: 7.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1393, allocations: 330.8 kB / 449.1 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.1394, allocations: 39.92 kB / 449.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1395, allocations: 77.06 kB / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1396, allocations: 36 kB / 449.2 MB, free: 6.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1396, allocations: 0 / 449.2 MB, free: 6.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002866/0.1399, allocations: 149.8 kB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.14, allocations: 7.953 kB / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.14, allocations: 0 / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.14, allocations: 8.062 kB / 449.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1401, allocations: 23.98 kB / 449.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1402, allocations: 7.938 kB / 449.4 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.904e-05/0.1402, allocations: 12 kB / 449.4 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1403, allocations: 4 kB / 449.4 MB, free: 6.293 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.0001516/0.1404, allocations: 165.8 kB / 449.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.1405, allocations: 23.72 kB / 449.6 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/0.1406, allocations: 29.69 kB / 449.6 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1406, allocations: 4 kB / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1406, allocations: 0 / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1406, allocations: 0 / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.1409, allocations: 249.4 kB / 449.9 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1409, allocations: 0 / 449.9 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.1409, allocations: 8 kB / 449.9 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1409, allocations: 4 kB / 449.9 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.141, allocations: 15.97 kB / 449.9 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.141, allocations: 7.938 kB / 449.9 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.141, allocations: 0 / 449.9 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.1413, allocations: 187.3 kB / 450.1 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.1414, allocations: 104.8 kB / 450.2 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.1415, allocations: 15.95 kB / 450.2 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.1416, allocations: 7.984 kB / 450.2 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.1416, allocations: 7.984 kB / 450.2 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.1416, allocations: 8 kB / 450.3 MB, free: 5.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002508/0.1419, allocations: 245.9 kB / 450.5 MB, free: 5.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1419, allocations: 0 / 450.5 MB, free: 5.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.1422, allocations: 32 kB / 450.5 MB, free: 5.098 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.001/0.1432, allocations: 435.6 kB / 451 MB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.1435, allocations: 87.91 kB / 451 MB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1435, allocations: 0 / 451 MB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1436, allocations: 47.91 kB / 451.1 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.144, allocations: 49.34 kB / 451.1 MB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/0.1447, allocations: 403.5 kB / 451.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.145, allocations: 0.7517 MB / 452.3 MB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.1451, allocations: 41.92 kB / 452.3 MB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.1452, allocations: 19.44 kB / 452.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1452, allocations: 0 / 452.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of Templates: time 0.006268/0.1515, allocations: 2.709 MB / 455 MB, free: 0.5469 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile Environment - environmentSimulation: (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 & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches