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.001055/0.001055, allocations: 111.7 kB / 16.41 MB, free: 6.484 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.000981/0.000981, allocations: 187.5 kB / 17.34 MB, free: 5.766 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.476/1.476, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2207/0.2207, 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.001377/0.001377, allocations: 75.89 kB / 441.9 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.14, allocations: 57.79 MB / 499.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003676/0.1437, allocations: 1.928 MB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1454, allocations: 0.9753 MB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.249e-05/0.1455, allocations: 4 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.1461, allocations: 195.4 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.1465, allocations: 163.4 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.147, allocations: 191.5 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.1472, allocations: 255.3 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1474, allocations: 33.64 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1475, allocations: 115.5 kB / 0.4917 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.1477, allocations: 107.6 kB / 0.4918 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.1477, allocations: 8 kB / 0.4918 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1478, allocations: 47.98 kB / 0.4918 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.1479, allocations: 63.75 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.929e-05/0.148, allocations: 75.48 kB / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.1483, allocations: 239.2 kB / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.1483, allocations: 0 / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1484, allocations: 3.938 kB / 0.4922 GB, free: 7.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1484, allocations: 0 / 0.4922 GB, free: 7.34 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.0008355/0.1492, allocations: 0.5427 MB / 0.4927 GB, free: 6.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1492, allocations: 11.89 kB / 0.4928 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.1493, allocations: 24.66 kB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.1497, allocations: 283.6 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1497, allocations: 4.375 kB / 0.4931 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.1497, allocations: 16.05 kB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.15, allocations: 104.2 kB / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.15, allocations: 0 / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.15, allocations: 0 / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1501, allocations: 4 kB / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.1502, allocations: 43.91 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.1507, allocations: 369.6 kB / 0.4936 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.151, allocations: 117.2 kB / 0.4937 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1511, allocations: 41.7 kB / 0.4937 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.1512, allocations: 7.938 kB / 0.4937 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.1515, allocations: 124.9 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.1515, allocations: 0 / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005037/0.152, allocations: 177.3 kB / 0.494 GB, free: 5.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.1521, allocations: 110.7 kB / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.1525, allocations: 339 kB / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1525, allocations: 25.7 kB / 0.4945 GB, free: 4.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.1526, allocations: 140.1 kB / 0.4946 GB, free: 4.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.1527, allocations: 31.7 kB / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.1527, allocations: 33.7 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1529, allocations: 338.8 kB / 0.495 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/0.153, allocations: 31.98 kB / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1531, allocations: 80.8 kB / 0.4951 GB, free: 4.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.1533, allocations: 95.84 kB / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1533, allocations: 0 / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000276/0.1536, allocations: 157.2 kB / 0.4953 GB, free: 3.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1536, allocations: 8 kB / 0.4953 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1537, allocations: 0 / 0.4953 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.1537, allocations: 3.984 kB / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1538, allocations: 23.94 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1538, allocations: 0 / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.879e-05/0.1539, allocations: 11.98 kB / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.1539, allocations: 11.94 kB / 0.4954 GB, free: 3.773 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.0001569/0.1541, allocations: 157.7 kB / 0.4955 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1541, allocations: 23.72 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.1542, allocations: 25.73 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1542, allocations: 11.92 kB / 0.4956 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1542, allocations: 0 / 0.4956 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1542, allocations: 3.984 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.1544, allocations: 253.3 kB / 0.4958 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1544, allocations: 0 / 0.4958 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.1545, allocations: 8 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1545, allocations: 0 / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1545, allocations: 8 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1545, allocations: 128 / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1545, allocations: 4 kB / 0.4959 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.1548, allocations: 181.5 kB / 0.496 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.1549, allocations: 96.92 kB / 0.4961 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.1549, allocations: 7.984 kB / 0.4961 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.155, allocations: 12 kB / 0.4961 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.1551, allocations: 7.984 kB / 0.4962 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.1551, allocations: 7.938 kB / 0.4962 GB, free: 2.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.1553, allocations: 249.9 kB / 0.4964 GB, free: 2.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1553, allocations: 0 / 0.4964 GB, free: 2.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1556, allocations: 39.91 kB / 0.4964 GB, free: 2.602 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.0009547/0.1565, allocations: 427.9 kB / 0.4968 GB, free: 2.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.1568, allocations: 91.91 kB / 0.4969 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1568, allocations: 0 / 0.4969 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.157, allocations: 47.92 kB / 0.497 GB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1574, allocations: 68.2 kB / 0.497 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.158, allocations: 368.2 kB / 0.4974 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.1584, allocations: 0.7439 MB / 0.4981 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.498e-05/0.1585, allocations: 29.92 kB / 0.4982 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.1586, allocations: 27.44 kB / 0.4982 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1586, allocations: 4 kB / 0.4982 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of Templates: time 0.006289/0.1649, allocations: 2.985 MB / 0.5011 GB, free: 13.82 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