Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 112.7 kB / 18.45 MB, free: 4.621 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.001134/0.001134, allocations: 185.2 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1844/0.1844, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3356, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.004492/0.3401, allocations: 1.58 MB / 0.5211 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3413, allocations: 410.9 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.3415, allocations: 1.156 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.3419, allocations: 119.6 kB / 0.5216 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.3424, allocations: 89.47 kB / 0.5217 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.3428, allocations: 85.03 kB / 0.5218 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.3432, allocations: 83.33 kB / 0.5219 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.3433, allocations: 21.98 kB / 0.5219 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.3435, allocations: 45.17 kB / 0.5219 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.3437, allocations: 79.22 kB / 0.522 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.3437, allocations: 6.484 kB / 0.522 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3438, allocations: 43.47 kB / 0.5221 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.04e-05/0.3439, allocations: 23.64 kB / 0.5221 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.344, allocations: 44.45 kB / 0.5221 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.3443, allocations: 119.2 kB / 0.5223 GB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3443, allocations: 0 / 0.5223 GB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3443, allocations: 0 / 0.5223 GB, free: 2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3443, allocations: 1.125 kB / 0.5223 GB, free: 2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005433/0.3448, allocations: 424.2 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.937e-05/0.345, allocations: 9.859 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.345, allocations: 10.56 kB / 0.5227 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.3452, allocations: 204.7 kB / 0.5229 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3453, allocations: 6.719 kB / 0.5229 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3453, allocations: 2.625 kB / 0.5229 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.3454, allocations: 63.83 kB / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3455, allocations: 1 kB / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3455, allocations: 0 / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3455, allocations: 1.969 kB / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3456, allocations: 24.59 kB / 0.523 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.346, allocations: 308 kB / 0.5233 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3461, allocations: 55.19 kB / 0.5233 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.3462, allocations: 14.12 kB / 0.5233 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.3462, allocations: 1.281 kB / 0.5233 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.3462, allocations: 40.44 kB / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.3462, allocations: 0 / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001023/0.3473, allocations: 220.2 kB / 0.5236 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.3473, allocations: 52.88 kB / 0.5236 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.3476, allocations: 276.6 kB / 0.5239 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.3476, allocations: 26.89 kB / 0.5239 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.3476, allocations: 119.8 kB / 0.524 GB, free: 480 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.3477, allocations: 25.02 kB / 0.5241 GB, free: 460 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.3477, allocations: 25.34 kB / 0.5241 GB, free: 436 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.3478, allocations: 323.6 kB / 0.5244 GB, free: 112 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.121e-05/0.3479, allocations: 27.12 kB / 0.5244 GB, free: 104 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.348, allocations: 26.67 kB / 0.5244 GB, free: 96 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3481, allocations: 66.61 kB / 0.5245 GB, free: 64 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3482, allocations: 0 / 0.5245 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002493/0.3484, allocations: 107.6 kB / 0.5246 GB, free: 4 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3484, allocations: 4.688 kB / 0.5246 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3484, allocations: 0 / 0.5246 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3485, allocations: 1.438 kB / 0.5246 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3486, allocations: 17.42 kB / 0.5246 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.538e-05/0.3486, allocations: 5.859 kB / 0.5246 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.3487, allocations: 7.984 kB / 0.5246 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3487, allocations: 6.266 kB / 0.5246 GB, free: 15.99 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001102/0.3488, allocations: 133.6 kB / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.3488, allocations: 13.88 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.3491, allocations: 121.5 kB / 0.5249 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3491, allocations: 1.438 kB / 0.5249 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3492, allocations: 0.7031 kB / 0.5249 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3492, allocations: 9.281 kB / 0.5249 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.3497, allocations: 410 kB / 0.5253 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.3497, allocations: 1.969 kB / 0.5253 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.3498, allocations: 19.77 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/0.3499, allocations: 5.156 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3499, allocations: 2 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3499, allocations: 1.188 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3499, allocations: 1.406 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.3502, allocations: 208.4 kB / 0.5255 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.3502, allocations: 93.52 kB / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.3503, allocations: 8.594 kB / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.3503, allocations: 6.094 kB / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.3504, allocations: 5.328 kB / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.3504, allocations: 8.719 kB / 0.5257 GB, free: 15.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.3506, allocations: 202.5 kB / 0.5258 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3506, allocations: 3.938 kB / 0.5258 GB, free: 15.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.3509, allocations: 24.39 kB / 0.5259 GB, free: 15.01 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001103/0.352, allocations: 462.2 kB / 0.5263 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.3522, allocations: 68.78 kB / 0.5264 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3522, allocations: 0 / 0.5264 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.031e-05/0.3523, allocations: 35.36 kB / 0.5264 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3527, allocations: 18.45 kB / 0.5264 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.3534, allocations: 330.1 kB / 0.5267 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.3537, allocations: 0.7168 MB / 0.5274 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.3537, allocations: 13.98 kB / 0.5275 GB, free: 13.82 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3537, allocations: 1.438 kB / 0.5275 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Templates: time 0.004461/0.3582, allocations: 1.842 MB / 0.5293 GB, free: 13.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches