Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 105 kB / 16.41 MB, free: 6.504 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.001293/0.001293, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.466/1.466, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2238/0.2238, allocations: 43.53 MB / 314.1 MB, free: 456 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.001383/0.001383, allocations: 73.47 kB / 441.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1497, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003392/0.1532, allocations: 1.908 MB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1546, allocations: 0.8428 MB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1548, allocations: 4 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.1552, allocations: 43.7 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.1555, allocations: 63.62 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.1558, allocations: 111.7 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.156, allocations: 135.6 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1562, allocations: 29.47 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1563, allocations: 59.72 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.772e-05/0.1564, allocations: 47.7 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1564, allocations: 12 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1565, allocations: 51.91 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.1566, allocations: 23.92 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.75e-05/0.1567, allocations: 51.62 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.1569, allocations: 139.6 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1569, allocations: 0 / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1569, allocations: 0 / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.157, allocations: 0 / 0.4914 GB, free: 8.195 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006794/0.1576, allocations: 496.3 kB / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1577, allocations: 11.89 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.1577, allocations: 20.73 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.1581, allocations: 216.1 kB / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1581, allocations: 8.375 kB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.1581, allocations: 8.125 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.1584, allocations: 120.1 kB / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1584, allocations: 0 / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1584, allocations: 0 / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1584, allocations: 4 kB / 0.4922 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.1586, allocations: 51.89 kB / 0.4923 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.1592, allocations: 0.5048 MB / 0.4928 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.1595, allocations: 90.59 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.753e-05/0.1596, allocations: 36.84 kB / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.1596, allocations: 0 / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.1598, allocations: 91.31 kB / 0.493 GB, free: 6.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1598, allocations: 0 / 0.493 GB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004326/0.1603, allocations: 137.8 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.1603, allocations: 59.44 kB / 0.4932 GB, free: 6.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.1605, allocations: 191.3 kB / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1605, allocations: 33.69 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.1606, allocations: 116 kB / 0.4935 GB, free: 5.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1606, allocations: 23.66 kB / 0.4935 GB, free: 5.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.1607, allocations: 33.7 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1608, allocations: 326.8 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.1609, allocations: 27.98 kB / 0.4939 GB, free: 5.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.161, allocations: 60.27 kB / 0.4939 GB, free: 5.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.1612, allocations: 100.2 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1612, allocations: 4 kB / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002564/0.1615, allocations: 137.3 kB / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1615, allocations: 11.98 kB / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1615, allocations: 0 / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1615, allocations: 7.938 kB / 0.4942 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.1616, allocations: 19.94 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.1617, allocations: 11.97 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.1617, allocations: 11.91 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1617, allocations: 4 kB / 0.4942 GB, free: 4.988 MB / 382.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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001224/0.1619, allocations: 140.3 kB / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1619, allocations: 15.81 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.162, allocations: 13.41 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.162, allocations: 3.938 kB / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.162, allocations: 0 / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.162, allocations: 0 / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.1622, allocations: 213.5 kB / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1622, allocations: 0 / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.252e-05/0.1623, allocations: 16.08 kB / 0.4946 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1623, allocations: 3.938 kB / 0.4946 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1623, allocations: 8 kB / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1623, allocations: 7.938 kB / 0.4946 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1623, allocations: 0 / 0.4946 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.1627, allocations: 180.8 kB / 0.4948 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.1628, allocations: 89.03 kB / 0.4949 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1628, allocations: 0 / 0.4949 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.1629, allocations: 15.98 kB / 0.4949 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.1629, allocations: 11.94 kB / 0.4949 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1629, allocations: 0 / 0.4949 GB, free: 4.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.163, allocations: 141.2 kB / 0.495 GB, free: 4.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1631, allocations: 0 / 0.495 GB, free: 4.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1633, allocations: 32.11 kB / 0.4951 GB, free: 4.016 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001068/0.1644, allocations: 414.8 kB / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.1647, allocations: 79.91 kB / 0.4955 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1647, allocations: 0 / 0.4955 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.1648, allocations: 43.89 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1651, allocations: 42.88 kB / 0.4956 GB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005796/0.1657, allocations: 259.9 kB / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.166, allocations: 0.7125 MB / 0.4966 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.1661, allocations: 17.42 kB / 0.4966 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.1661, allocations: 19.44 kB / 0.4966 GB, free: 2.426 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1661, allocations: 0 / 0.4966 GB, free: 2.426 MB / 382.1 MB Notification: Performance of Templates: time 0.005088/0.1712, allocations: 1.885 MB / 0.4985 GB, free: 0.543 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches