Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.00117/0.00117, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.251/1.251, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.1813/0.1813, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.316, allocations: 60.82 MB / 0.5196 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002481/0.3185, allocations: 1.584 MB / 0.5211 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006265/0.3192, allocations: 411.1 kB / 0.5215 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.3192, allocations: 1.375 kB / 0.5215 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.3195, allocations: 116.8 kB / 0.5216 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.3198, allocations: 89.41 kB / 0.5217 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.32, allocations: 85.34 kB / 0.5218 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.3202, allocations: 85.62 kB / 0.5219 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.3203, allocations: 18.88 kB / 0.5219 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.3203, allocations: 49.59 kB / 0.522 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3205, allocations: 78.58 kB / 0.522 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3205, allocations: 3.219 kB / 0.522 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.267e-05/0.3206, allocations: 43.56 kB / 0.5221 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.3206, allocations: 30.78 kB / 0.5221 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.3207, allocations: 39.36 kB / 0.5221 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.3208, allocations: 116.6 kB / 0.5223 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3208, allocations: 0 / 0.5223 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3209, allocations: 0 / 0.5223 GB, free: 2.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3209, allocations: 0 / 0.5223 GB, free: 2.016 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.0003943/0.3213, allocations: 432.9 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.3213, allocations: 9.438 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.3213, allocations: 11.97 kB / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3215, allocations: 207.8 kB / 0.5229 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-06/0.3215, allocations: 1.406 kB / 0.5229 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.3215, allocations: 4.047 kB / 0.5229 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3217, allocations: 56.72 kB / 0.5229 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3217, allocations: 0 / 0.5229 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3217, allocations: 1.094 kB / 0.5229 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3217, allocations: 1.062 kB / 0.5229 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.726e-05/0.3218, allocations: 28.34 kB / 0.523 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.3221, allocations: 307.4 kB / 0.5233 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.3222, allocations: 43.23 kB / 0.5233 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.3222, allocations: 18.47 kB / 0.5233 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3223, allocations: 1.125 kB / 0.5233 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.3223, allocations: 32.62 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3223, allocations: 0 / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007702/0.3231, allocations: 233.9 kB / 0.5236 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.3231, allocations: 56.62 kB / 0.5236 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.3233, allocations: 272.6 kB / 0.5239 GB, free: 0.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3233, allocations: 29.7 kB / 0.5239 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.3234, allocations: 115.8 kB / 0.524 GB, free: 496 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3234, allocations: 28.89 kB / 0.5241 GB, free: 472 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.3234, allocations: 25.48 kB / 0.5241 GB, free: 448 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.3235, allocations: 329 kB / 0.5244 GB, free: 120 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/0.3236, allocations: 22.19 kB / 0.5244 GB, free: 116 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.3236, allocations: 26.19 kB / 0.5244 GB, free: 108 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3238, allocations: 63.47 kB / 0.5245 GB, free: 80 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3238, allocations: 0.6094 kB / 0.5245 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001799/0.324, allocations: 106.2 kB / 0.5246 GB, free: 20 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.324, allocations: 5.375 kB / 0.5246 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.324, allocations: 0.6094 kB / 0.5246 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.324, allocations: 1.125 kB / 0.5246 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.3241, allocations: 16.72 kB / 0.5246 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3241, allocations: 3.938 kB / 0.5246 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.3242, allocations: 13.69 kB / 0.5246 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.3242, allocations: 1.906 kB / 0.5246 GB, free: 8 kB / 382.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.0001123/0.3243, allocations: 133.4 kB / 0.5248 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.3243, allocations: 18.95 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.3246, allocations: 120.7 kB / 0.5249 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3246, allocations: 1.375 kB / 0.5249 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3246, allocations: 4.453 kB / 0.5249 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3246, allocations: 5.984 kB / 0.5249 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.3251, allocations: 407.2 kB / 0.5253 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3251, allocations: 0 / 0.5253 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.568e-05/0.3252, allocations: 22 kB / 0.5253 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3252, allocations: 0 / 0.5253 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3252, allocations: 6.656 kB / 0.5253 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3252, allocations: 0 / 0.5253 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3252, allocations: 5.812 kB / 0.5253 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.3255, allocations: 211.7 kB / 0.5255 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.3255, allocations: 93.08 kB / 0.5256 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.3256, allocations: 1.312 kB / 0.5256 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.3256, allocations: 9.734 kB / 0.5256 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.3257, allocations: 13.28 kB / 0.5257 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.3257, allocations: 2.469 kB / 0.5257 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.3259, allocations: 207.3 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3259, allocations: 0 / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.3261, allocations: 22.72 kB / 0.5259 GB, free: 15.03 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.0009735/0.3271, allocations: 453.2 kB / 0.5263 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.3273, allocations: 68.97 kB / 0.5264 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3273, allocations: 0 / 0.5264 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.3274, allocations: 38.5 kB / 0.5264 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3277, allocations: 30.92 kB / 0.5264 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.3282, allocations: 321.8 kB / 0.5267 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.3285, allocations: 0.7171 MB / 0.5274 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.3285, allocations: 14.94 kB / 0.5275 GB, free: 13.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3285, allocations: 0 / 0.5275 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Templates: time 0.003421/0.332, allocations: 1.837 MB / 0.5293 GB, free: 13.13 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches