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.00114/0.00114, allocations: 111.2 kB / 16.41 MB, free: 6.027 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.001349/0.001349, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.523/1.523, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2158/0.2158, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 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.001315/0.001315, allocations: 79.89 kB / 441.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 57.79 MB / 499.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003281/0.1416, allocations: 1.916 MB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1434, allocations: 0.9792 MB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1435, allocations: 4 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006475/0.1442, allocations: 195.4 kB / 0.491 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.1445, allocations: 155.4 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.1451, allocations: 191.6 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.1454, allocations: 267.2 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1456, allocations: 29.64 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1457, allocations: 107.5 kB / 0.4917 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1459, allocations: 99.59 kB / 0.4918 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.1459, allocations: 12 kB / 0.4918 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.1461, allocations: 55.95 kB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.061e-05/0.1462, allocations: 55.77 kB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.1463, allocations: 79.47 kB / 0.492 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.1466, allocations: 247.2 kB / 0.4922 GB, free: 7.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1467, allocations: 3.938 kB / 0.4922 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1467, allocations: 0 / 0.4922 GB, free: 7.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1467, allocations: 0 / 0.4922 GB, free: 7.363 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.0008586/0.1475, allocations: 0.5422 MB / 0.4927 GB, free: 6.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1476, allocations: 19.88 kB / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.1477, allocations: 20.66 kB / 0.4928 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.148, allocations: 279.6 kB / 0.493 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.148, allocations: 4.375 kB / 0.493 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.1481, allocations: 12.06 kB / 0.4931 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.1483, allocations: 108.2 kB / 0.4932 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1483, allocations: 0 / 0.4932 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1483, allocations: 3.984 kB / 0.4932 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1484, allocations: 4 kB / 0.4932 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1485, allocations: 39.92 kB / 0.4932 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.149, allocations: 377.5 kB / 0.4936 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.1493, allocations: 121.2 kB / 0.4937 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.1494, allocations: 45.7 kB / 0.4937 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.1495, allocations: 4 kB / 0.4937 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.1497, allocations: 113 kB / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 3.065e-06/0.1497, allocations: 0 / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000443/0.1502, allocations: 181.3 kB / 0.494 GB, free: 5.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.1502, allocations: 110.8 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.1506, allocations: 331 kB / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1506, allocations: 29.7 kB / 0.4945 GB, free: 4.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1508, allocations: 140 kB / 0.4946 GB, free: 4.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1508, allocations: 31.64 kB / 0.4946 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.1509, allocations: 33.66 kB / 0.4947 GB, free: 4.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.151, allocations: 342.8 kB / 0.495 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/0.1511, allocations: 31.98 kB / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1513, allocations: 73.12 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.1515, allocations: 103.9 kB / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1515, allocations: 0 / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002684/0.1517, allocations: 145.2 kB / 0.4953 GB, free: 3.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1518, allocations: 8 kB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1518, allocations: 0 / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1518, allocations: 4 kB / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1519, allocations: 23.92 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1519, allocations: 3.984 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.152, allocations: 20.05 kB / 0.4954 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.152, allocations: 7.938 kB / 0.4954 GB, free: 3.797 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.1522, allocations: 161.6 kB / 0.4955 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.1522, allocations: 23.72 kB / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.1523, allocations: 29.67 kB / 0.4956 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1523, allocations: 4 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1523, allocations: 3.938 kB / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1523, allocations: 0 / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.1526, allocations: 257.5 kB / 0.4958 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1526, allocations: 0 / 0.4958 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.1526, allocations: 7.984 kB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1526, allocations: 4 kB / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1526, allocations: 4 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1527, allocations: 0 / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1527, allocations: 4 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.153, allocations: 185.5 kB / 0.496 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.153, allocations: 88.92 kB / 0.4961 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.1531, allocations: 12.12 kB / 0.4961 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.1532, allocations: 7.984 kB / 0.4961 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.1532, allocations: 11.98 kB / 0.4962 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1532, allocations: 7.938 kB / 0.4962 GB, free: 2.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002513/0.1535, allocations: 245.9 kB / 0.4964 GB, free: 2.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.084e-06/0.1535, allocations: 0 / 0.4964 GB, free: 2.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1538, allocations: 47.83 kB / 0.4964 GB, free: 2.617 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009339/0.1547, allocations: 422.9 kB / 0.4968 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.155, allocations: 95.89 kB / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.155, allocations: 0 / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1551, allocations: 47.92 kB / 0.497 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1555, allocations: 56.84 kB / 0.497 GB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.1562, allocations: 376.3 kB / 0.4974 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.1565, allocations: 0.7437 MB / 0.4981 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.1566, allocations: 41.91 kB / 0.4982 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.1567, allocations: 19.44 kB / 0.4982 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of SimCode: time 2.795e-06/0.1567, allocations: 0 / 0.4982 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of Templates: time 0.006513/0.1632, allocations: 2.989 MB / 0.5011 GB, free: 13.83 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches