Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001765/0.001765, allocations: 179.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2895/0.2895, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 58.86 MB / 490.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3655/0.5093, allocations: 88.71 MB / 0.5654 GB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.5097, allocations: 80.61 kB / 0.5655 GB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01158/0.5213, allocations: 4.261 MB / 0.5696 GB, free: 7.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5213, allocations: 0 / 0.5696 GB, free: 7.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.5213, allocations: 8 kB / 0.5696 GB, free: 7.512 MB / 378.7 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.0006025/0.522, allocations: 471.4 kB / 0.5701 GB, free: 7.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.522, allocations: 8.031 kB / 0.5701 GB, free: 7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.5221, allocations: 19.06 kB / 0.5701 GB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.5224, allocations: 229.9 kB / 0.5703 GB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.5224, allocations: 7.125 kB / 0.5703 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.5224, allocations: 15.39 kB / 0.5704 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.5227, allocations: 106 kB / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5227, allocations: 0 / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.5227, allocations: 4 kB / 0.5705 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.5227, allocations: 7.922 kB / 0.5705 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.5229, allocations: 55.41 kB / 0.5705 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.5235, allocations: 0.5153 MB / 0.571 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.5239, allocations: 88.66 kB / 0.5711 GB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.5239, allocations: 4 kB / 0.5711 GB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.5241, allocations: 90.12 kB / 0.5712 GB, free: 5.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.5241, allocations: 0 / 0.5712 GB, free: 5.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004122/0.5245, allocations: 150.2 kB / 0.5713 GB, free: 5.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.5246, allocations: 51.78 kB / 0.5714 GB, free: 5.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.5248, allocations: 179.8 kB / 0.5716 GB, free: 5.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.5248, allocations: 33.08 kB / 0.5716 GB, free: 5.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.5249, allocations: 113.9 kB / 0.5717 GB, free: 5.352 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.5249, allocations: 31.45 kB / 0.5717 GB, free: 5.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/0.5249, allocations: 7.625 kB / 0.5717 GB, free: 5.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5251, allocations: 322.3 kB / 0.572 GB, free: 5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.5252, allocations: 27.17 kB / 0.5721 GB, free: 4.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.5253, allocations: 74.98 kB / 0.5721 GB, free: 4.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.382e-05/0.5254, allocations: 41.98 kB / 0.5722 GB, free: 4.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5254, allocations: 0 / 0.5722 GB, free: 4.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000263/0.5256, allocations: 143 kB / 0.5723 GB, free: 4.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5257, allocations: 6.656 kB / 0.5723 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5257, allocations: 4 kB / 0.5723 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5257, allocations: 3.953 kB / 0.5723 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.5258, allocations: 27.92 kB / 0.5724 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.5258, allocations: 4 kB / 0.5724 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.5259, allocations: 19.95 kB / 0.5724 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.5259, allocations: 4 kB / 0.5724 GB, free: 4.688 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,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 (14): * Single equations (assignments): 14 * 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.0001065/0.526, allocations: 128.5 kB / 0.5725 GB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.5261, allocations: 11.91 kB / 0.5725 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.5264, allocations: 139.3 kB / 0.5726 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-06/0.5264, allocations: 4 kB / 0.5727 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.5264, allocations: 11.94 kB / 0.5727 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5264, allocations: 0 / 0.5727 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.5266, allocations: 214.3 kB / 0.5729 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5267, allocations: 0 / 0.5729 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.5267, allocations: 19.92 kB / 0.5729 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.5268, allocations: 4.188 kB / 0.5729 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.5268, allocations: 4 kB / 0.5729 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5268, allocations: 3.938 kB / 0.5729 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5268, allocations: 0 / 0.5729 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.5272, allocations: 206.5 kB / 0.5731 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.5272, allocations: 85.05 kB / 0.5732 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.5273, allocations: 7.922 kB / 0.5732 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.5273, allocations: 8 kB / 0.5732 GB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.5274, allocations: 8.047 kB / 0.5732 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.5274, allocations: 4 kB / 0.5732 GB, free: 3.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.5275, allocations: 148.9 kB / 0.5733 GB, free: 3.711 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5275, allocations: 0 / 0.5733 GB, free: 3.711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.5278, allocations: 35.84 kB / 0.5734 GB, free: 3.68 MB / 378.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009517/0.5287, allocations: 422.2 kB / 0.5738 GB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.529, allocations: 93.45 kB / 0.5739 GB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.529, allocations: 0 / 0.5739 GB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.5291, allocations: 46.16 kB / 0.5739 GB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.5294, allocations: 30.72 kB / 0.5739 GB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.5299, allocations: 296.9 kB / 0.5742 GB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.5302, allocations: 0.7209 MB / 0.5749 GB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.54e-05/0.5303, allocations: 21.06 kB / 0.575 GB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.5304, allocations: 16 kB / 0.575 GB, free: 2.109 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5304, allocations: 0 / 0.575 GB, free: 2.109 MB / 378.7 MB Notification: Performance of Templates: time 0.004613/0.535, allocations: 1.787 MB / 0.5767 GB, free: 344 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches