Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, 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.001134/0.001134, 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.208/1.208, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1798/0.1798, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3095, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003086/0.3127, allocations: 1.621 MB / 0.5212 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007636/0.3134, allocations: 416.5 kB / 0.5216 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-05/0.3136, allocations: 1.25 kB / 0.5216 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.3139, allocations: 92.7 kB / 0.5217 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.3142, allocations: 75.02 kB / 0.5217 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.3145, allocations: 91.25 kB / 0.5218 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.3148, allocations: 94.59 kB / 0.5219 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3149, allocations: 26.84 kB / 0.5219 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.315, allocations: 36.64 kB / 0.522 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.3151, allocations: 57.7 kB / 0.522 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.3152, allocations: 4.438 kB / 0.522 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.3153, allocations: 48.89 kB / 0.5221 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.3154, allocations: 29.7 kB / 0.5221 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.3154, allocations: 40.38 kB / 0.5221 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.3157, allocations: 122 kB / 0.5223 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3157, allocations: 0.6562 kB / 0.5223 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3157, allocations: 1.281 kB / 0.5223 GB, free: 1.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3157, allocations: 3.938 kB / 0.5223 GB, free: 1.93 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004843/0.3162, allocations: 418.2 kB / 0.5227 GB, free: 1.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3162, allocations: 9.219 kB / 0.5227 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.3163, allocations: 10.06 kB / 0.5227 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3165, allocations: 221.1 kB / 0.5229 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3165, allocations: 6.562 kB / 0.5229 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.3165, allocations: 5.172 kB / 0.5229 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3167, allocations: 75.25 kB / 0.523 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3167, allocations: 0 / 0.523 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3167, allocations: 5.094 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3167, allocations: 1.75 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.3169, allocations: 34.78 kB / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.3173, allocations: 335.7 kB / 0.5233 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3174, allocations: 59.22 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.3175, allocations: 23.08 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.3175, allocations: 1.188 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.3175, allocations: 36.34 kB / 0.5234 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.3175, allocations: 5.094 kB / 0.5235 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001063/0.3186, allocations: 298.9 kB / 0.5237 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.3186, allocations: 54.28 kB / 0.5238 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.3189, allocations: 232.2 kB / 0.524 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.3189, allocations: 26.36 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.319, allocations: 115.3 kB / 0.5241 GB, free: 368 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.319, allocations: 47.58 kB / 0.5242 GB, free: 328 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.3191, allocations: 33.7 kB / 0.5242 GB, free: 300 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.3191, allocations: 322.8 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.856e-05/0.3192, allocations: 33.66 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/0.3194, allocations: 39 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3196, allocations: 97.3 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3196, allocations: 1.219 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002639/0.3198, allocations: 130 kB / 0.5248 GB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3199, allocations: 5.922 kB / 0.5248 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3199, allocations: 0 / 0.5248 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3199, allocations: 5.531 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.32, allocations: 28.55 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.32, allocations: 2.047 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.3201, allocations: 16.56 kB / 0.5249 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3201, allocations: 4.438 kB / 0.5249 GB, free: 15.83 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 (13): * Single equations (assignments): 13 * 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.0001016/0.3202, allocations: 133.5 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.3203, allocations: 10.83 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.3206, allocations: 170.5 kB / 0.5252 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3206, allocations: 5.75 kB / 0.5252 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3206, allocations: 0.6094 kB / 0.5252 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3206, allocations: 8.688 kB / 0.5252 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/0.3212, allocations: 469.2 kB / 0.5256 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3213, allocations: 0.9688 kB / 0.5256 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.497e-05/0.3213, allocations: 25.75 kB / 0.5257 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3214, allocations: 0 / 0.5257 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3214, allocations: 8.172 kB / 0.5257 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3214, allocations: 0 / 0.5257 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3214, allocations: 4.594 kB / 0.5257 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.3217, allocations: 244.6 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.3218, allocations: 88.94 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3218, allocations: 5.312 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.3219, allocations: 9.906 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.3219, allocations: 13.16 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.3219, allocations: 3.406 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.3221, allocations: 171.8 kB / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3221, allocations: 0 / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.3224, allocations: 31.86 kB / 0.5262 GB, free: 14.81 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 (13): * Single equations (assignments): 13 * 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.001006/0.3234, allocations: 463.1 kB / 0.5267 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.3237, allocations: 98.28 kB / 0.5268 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3237, allocations: 0 / 0.5268 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3238, allocations: 55.89 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3242, allocations: 26.95 kB / 0.5268 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.3247, allocations: 325.3 kB / 0.5271 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.325, allocations: 0.7167 MB / 0.5278 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.325, allocations: 18.47 kB / 0.5279 GB, free: 13.61 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.325, allocations: 3.938 kB / 0.5279 GB, free: 13.61 MB / 398.1 MB Notification: Performance of Templates: time 0.004243/0.3293, allocations: 2.023 MB / 0.5298 GB, free: 12.77 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches