Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 109.9 kB / 16.64 MB, free: 6.809 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.001421/0.001421, allocations: 186.5 kB / 17.56 MB, free: 5.922 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.609/1.609, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2046/0.2046, allocations: 43.52 MB / 314.3 MB, free: 0.7031 MB / 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.001458/0.001458, allocations: 68.86 kB / 382.9 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08376/0.08523, allocations: 57.79 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002689/0.08795, allocations: 1.758 MB / 442.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.08946, allocations: 1.368 MB / 443.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.08956, allocations: 0 / 443.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.08984, allocations: 39.83 kB / 443.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.09007, allocations: 47.83 kB / 443.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.09031, allocations: 75.84 kB / 444 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.09045, allocations: 95.69 kB / 444.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.914e-05/0.09055, allocations: 12.52 kB / 444.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/0.09063, allocations: 43.78 kB / 444.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.09076, allocations: 43.78 kB / 444.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.09079, allocations: 4 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.09091, allocations: 59.97 kB / 444.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.139e-05/0.09096, allocations: 19.91 kB / 444.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.09101, allocations: 27.81 kB / 444.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.09117, allocations: 91.81 kB / 444.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.09118, allocations: 0 / 444.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09118, allocations: 4 kB / 444.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.09119, allocations: 0 / 444.4 MB, free: 3.641 MB / 318.1 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.0004012/0.0916, allocations: 418.9 kB / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.09164, allocations: 11.89 kB / 444.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.09169, allocations: 8.844 kB / 444.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.09186, allocations: 197.3 kB / 445 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.09188, allocations: 4.375 kB / 445 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.09191, allocations: 8.125 kB / 445 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.09206, allocations: 67.39 kB / 445.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.09208, allocations: 7.906 kB / 445.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.09209, allocations: 0 / 445.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.0921, allocations: 0 / 445.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.728e-05/0.09218, allocations: 23.92 kB / 445.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.09246, allocations: 284.8 kB / 445.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.09262, allocations: 66.66 kB / 445.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.09267, allocations: 20.84 kB / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.0927, allocations: 7.938 kB / 445.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.09287, allocations: 63.39 kB / 445.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.09288, allocations: 0 / 445.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004654/0.09335, allocations: 169.5 kB / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.09339, allocations: 77.11 kB / 445.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.0935, allocations: 156.9 kB / 445.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.09351, allocations: 29.64 kB / 445.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.09355, allocations: 96.12 kB / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.09357, allocations: 27.59 kB / 446.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.09361, allocations: 29.7 kB / 446.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.936e-05/0.09366, allocations: 326.8 kB / 446.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.848e-05/0.09371, allocations: 16.19 kB / 446.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.09377, allocations: 46.56 kB / 446.5 MB, free: 1.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.928e-05/0.09387, allocations: 61.64 kB / 446.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09388, allocations: 4 kB / 446.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00015/0.09403, allocations: 101.5 kB / 446.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.09405, allocations: 8.062 kB / 446.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.09406, allocations: 0 / 446.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.09408, allocations: 4 kB / 446.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.09416, allocations: 16 kB / 446.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.09417, allocations: 0 / 446.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.09422, allocations: 15.83 kB / 446.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.09423, allocations: 0 / 446.7 MB, free: 1.066 MB / 318.1 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 6.083e-05/0.0943, allocations: 125.8 kB / 446.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.09433, allocations: 7.906 kB / 446.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.09437, allocations: 20.7 kB / 446.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.09437, allocations: 0 / 446.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.09438, allocations: 0 / 446.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.09439, allocations: 11.88 kB / 446.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.0947, allocations: 375.4 kB / 447.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.09471, allocations: 4 kB / 447.2 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.09475, allocations: 11.94 kB / 447.2 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.09476, allocations: 0 / 447.2 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.09477, allocations: 15.95 kB / 447.2 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.09478, allocations: 0 / 447.2 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.09479, allocations: 4 kB / 447.2 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.09495, allocations: 192.5 kB / 447.4 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.09498, allocations: 81.02 kB / 447.5 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.09501, allocations: 11.94 kB / 447.5 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.09508, allocations: 3.984 kB / 447.5 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.09512, allocations: 11.94 kB / 447.5 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.09514, allocations: 4 kB / 447.5 MB, free: 92 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.489e-05/0.09523, allocations: 123.2 kB / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09524, allocations: 0 / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.09552, allocations: 32.17 kB / 447.7 MB, free: 15.94 MB / 334.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: 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.001108/0.09664, allocations: 0.4964 MB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.09684, allocations: 67.89 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.09686, allocations: 0 / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.09694, allocations: 36.05 kB / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.09727, allocations: 27.92 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.0977, allocations: 248.5 kB / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.09796, allocations: 0.6962 MB / 449.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.09802, allocations: 19.42 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09803, allocations: 0 / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of Templates: time 0.003805/0.1018, allocations: 2.035 MB / 451.3 MB, free: 12.35 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches