Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 108.7 kB / 18.45 MB, free: 4.625 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.001146/0.001146, allocations: 185.2 kB / 19.38 MB, free: 3.703 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.359/1.359, 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.2276/0.2276, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3528, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003314/0.3561, allocations: 1.638 MB / 0.5212 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007734/0.3569, allocations: 450.2 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.357, allocations: 1.219 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.3573, allocations: 58.8 kB / 0.5217 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.3575, allocations: 57.17 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.358, allocations: 183.5 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.3582, allocations: 84.75 kB / 0.522 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3583, allocations: 25.02 kB / 0.522 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.581e-05/0.3584, allocations: 36.33 kB / 0.5221 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3585, allocations: 46.89 kB / 0.5221 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3585, allocations: 4 kB / 0.5221 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3587, allocations: 48.34 kB / 0.5221 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.3587, allocations: 24.94 kB / 0.5222 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.3588, allocations: 28.97 kB / 0.5222 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.359, allocations: 110.3 kB / 0.5223 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.359, allocations: 0.7031 kB / 0.5223 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.359, allocations: 0 / 0.5223 GB, free: 1.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3591, allocations: 1.062 kB / 0.5223 GB, free: 1.883 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004748/0.3595, allocations: 412.7 kB / 0.5227 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3596, allocations: 10.67 kB / 0.5227 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.3596, allocations: 9.438 kB / 0.5227 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.3598, allocations: 200.5 kB / 0.5229 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3598, allocations: 2.312 kB / 0.5229 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.3598, allocations: 15.16 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.36, allocations: 62.44 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3601, allocations: 0.9688 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3601, allocations: 0 / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3601, allocations: 5.156 kB / 0.523 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.3602, allocations: 42.52 kB / 0.523 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.3607, allocations: 322.4 kB / 0.5233 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.3609, allocations: 60.05 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/0.361, allocations: 30.77 kB / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.361, allocations: 1.688 kB / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.3611, allocations: 35.66 kB / 0.5235 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3611, allocations: 0 / 0.5235 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001481/0.3626, allocations: 429.6 kB / 0.5239 GB, free: 0.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.3626, allocations: 53.52 kB / 0.5239 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3628, allocations: 176.3 kB / 0.5241 GB, free: 492 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.3628, allocations: 30.73 kB / 0.5241 GB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.3628, allocations: 99.28 kB / 0.5242 GB, free: 360 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.3629, allocations: 39.11 kB / 0.5242 GB, free: 328 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.3629, allocations: 27.64 kB / 0.5243 GB, free: 304 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.363, allocations: 325.7 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3632, allocations: 55.27 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.3633, allocations: 53.31 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.3636, allocations: 127.7 kB / 0.5248 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3636, allocations: 0 / 0.5248 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003558/0.364, allocations: 169.6 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.364, allocations: 4.312 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.364, allocations: 3.938 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.364, allocations: 1.406 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3642, allocations: 25.23 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3642, allocations: 2 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.3642, allocations: 7.672 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3643, allocations: 11.95 kB / 0.525 GB, free: 15.81 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 (11): * Single equations (assignments): 11 * 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.0001126/0.3644, allocations: 133 kB / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.3644, allocations: 8.281 kB / 0.5252 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.3649, allocations: 186.8 kB / 0.5253 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.3649, allocations: 5.344 kB / 0.5253 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3649, allocations: 5.125 kB / 0.5254 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3649, allocations: 1.125 kB / 0.5254 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.3657, allocations: 0.4945 MB / 0.5258 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3657, allocations: 0 / 0.5258 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3658, allocations: 30 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3658, allocations: 5.438 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3658, allocations: 1.984 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3658, allocations: 1.375 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3658, allocations: 1.984 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.3662, allocations: 275.6 kB / 0.5261 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.3663, allocations: 84.61 kB / 0.5262 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.3663, allocations: 6.266 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/0.3664, allocations: 10.06 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.3665, allocations: 14.78 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.3665, allocations: 5.203 kB / 0.5263 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3666, allocations: 136.2 kB / 0.5264 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3666, allocations: 96 / 0.5264 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000279/0.3669, allocations: 31.8 kB / 0.5264 GB, free: 14.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001074/0.368, allocations: 451.6 kB / 0.5268 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003919/0.3684, allocations: 138.9 kB / 0.527 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3684, allocations: 0 / 0.527 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.3686, allocations: 70.22 kB / 0.527 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.369, allocations: 28.98 kB / 0.5271 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.3696, allocations: 318.9 kB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.3699, allocations: 0.7161 MB / 0.5281 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.37, allocations: 15.56 kB / 0.5281 GB, free: 13.56 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.37, allocations: 1.344 kB / 0.5281 GB, free: 13.56 MB / 398.1 MB Notification: Performance of Templates: time 0.004485/0.3745, allocations: 2.009 MB / 0.5301 GB, free: 12.63 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches