Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001228, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001106, allocations: 103.5 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3918/0.3918, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3715, allocations: 62.02 MB / 0.5152 GB, free: 37.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00308/0.3746, allocations: 1.792 MB / 0.5169 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.3766, allocations: 1.62 MB / 0.5185 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.3767, allocations: 0 / 0.5185 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.377, allocations: 40.91 kB / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.3773, allocations: 76.48 kB / 0.5186 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.3775, allocations: 98.52 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.3777, allocations: 101.5 kB / 0.5188 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3778, allocations: 12.75 kB / 0.5188 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.72e-05/0.3779, allocations: 50.95 kB / 0.5189 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.378, allocations: 36.81 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3781, allocations: 6.188 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.3782, allocations: 96.91 kB / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.3783, allocations: 24.89 kB / 0.519 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.3784, allocations: 31.38 kB / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3786, allocations: 169.2 kB / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3786, allocations: 4 kB / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3786, allocations: 0 / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.3786, allocations: 0 / 0.5192 GB, free: 34.95 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005297/0.3792, allocations: 425.4 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3792, allocations: 7.688 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.3793, allocations: 10.28 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.3795, allocations: 220.1 kB / 0.5198 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3795, allocations: 3.938 kB / 0.5199 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.3795, allocations: 6.906 kB / 0.5199 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3797, allocations: 66.45 kB / 0.5199 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3797, allocations: 2.719 kB / 0.5199 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3797, allocations: 0 / 0.5199 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3797, allocations: 0 / 0.5199 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.3798, allocations: 25.14 kB / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.3801, allocations: 284.1 kB / 0.5202 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.3803, allocations: 64.23 kB / 0.5203 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.3803, allocations: 20.77 kB / 0.5203 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3804, allocations: 0 / 0.5203 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.3806, allocations: 71.97 kB / 0.5204 GB, free: 33.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3806, allocations: 4 kB / 0.5204 GB, free: 33.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005235/0.3811, allocations: 170.5 kB / 0.5205 GB, free: 33.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3812, allocations: 84.17 kB / 0.5206 GB, free: 33.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3813, allocations: 167.1 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3813, allocations: 29.64 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.3814, allocations: 102 kB / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3814, allocations: 17.86 kB / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.3814, allocations: 25.53 kB / 0.5209 GB, free: 33.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.3815, allocations: 328.3 kB / 0.5213 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.3816, allocations: 20.31 kB / 0.5213 GB, free: 33.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.3817, allocations: 46.28 kB / 0.5213 GB, free: 33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.755e-05/0.3818, allocations: 55.41 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3818, allocations: 3.938 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001611/0.3819, allocations: 101.7 kB / 0.5215 GB, free: 32.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.382, allocations: 5.656 kB / 0.5215 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.382, allocations: 0 / 0.5215 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.382, allocations: 3.312 kB / 0.5215 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.3821, allocations: 18.95 kB / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3821, allocations: 3.938 kB / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.3822, allocations: 6.688 kB / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3822, allocations: 6.562 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.612e-05/0.3823, allocations: 121.7 kB / 0.5216 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.3823, allocations: 10.72 kB / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.3823, allocations: 18.03 kB / 0.5217 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3823, allocations: 0 / 0.5217 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3824, allocations: 3.938 kB / 0.5217 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3824, allocations: 0 / 0.5217 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.3827, allocations: 400.2 kB / 0.522 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3828, allocations: 0 / 0.522 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.3828, allocations: 13.69 kB / 0.5221 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3828, allocations: 6.812 kB / 0.5221 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3828, allocations: 4 kB / 0.5221 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3828, allocations: 2.938 kB / 0.5221 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3828, allocations: 0 / 0.5221 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.3833, allocations: 0.782 MB / 0.5228 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.3833, allocations: 83.98 kB / 0.5229 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.3834, allocations: 3.328 kB / 0.5229 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.3834, allocations: 2.688 kB / 0.5229 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.3835, allocations: 10.34 kB / 0.5229 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3835, allocations: 5.938 kB / 0.5229 GB, free: 31.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.571e-05/0.3836, allocations: 123.5 kB / 0.5231 GB, free: 31.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3836, allocations: 0 / 0.5231 GB, free: 31.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.384, allocations: 54.91 kB / 0.5231 GB, free: 31.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (8): * Single equations (assignments): 6 * 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.001105/0.3851, allocations: 0.5465 MB / 0.5236 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.3853, allocations: 60.52 kB / 0.5237 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3853, allocations: 0 / 0.5237 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.222e-05/0.3854, allocations: 32.77 kB / 0.5237 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.3857, allocations: 25.66 kB / 0.5238 GB, free: 31.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.3862, allocations: 341.9 kB / 0.5241 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.3863, allocations: 0.6986 MB / 0.5248 GB, free: 30.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.363e-05/0.3864, allocations: 19.09 kB / 0.5248 GB, free: 30.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.3865, allocations: 24.86 kB / 0.5248 GB, free: 30.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3865, allocations: 0 / 0.5248 GB, free: 30.08 MB / 378.7 MB Notification: Performance of Templates: time 0.004738/0.3912, allocations: 2.342 MB / 0.5271 GB, free: 29.82 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches