Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001531/0.001531, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.358/1.358, 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.2178/0.2178, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 59.91 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3746, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003587/0.3783, allocations: 1.647 MB / 0.5212 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.3792, allocations: 429 kB / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3793, allocations: 0 / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.3797, allocations: 71.05 kB / 0.5217 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.3801, allocations: 62.34 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.3806, allocations: 137 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.3809, allocations: 83.77 kB / 0.5219 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.381, allocations: 15.91 kB / 0.522 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3811, allocations: 34.14 kB / 0.522 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.3813, allocations: 52.98 kB / 0.522 GB, free: 2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.3813, allocations: 11.38 kB / 0.5221 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.3815, allocations: 47.89 kB / 0.5221 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.9e-05/0.3816, allocations: 29.44 kB / 0.5221 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.3817, allocations: 31.58 kB / 0.5222 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.382, allocations: 108.3 kB / 0.5223 GB, free: 1.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.382, allocations: 1.188 kB / 0.5223 GB, free: 1.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.382, allocations: 0 / 0.5223 GB, free: 1.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.382, allocations: 0 / 0.5223 GB, free: 1.895 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.0006064/0.3826, allocations: 412.9 kB / 0.5227 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3827, allocations: 13.16 kB / 0.5227 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.3828, allocations: 10.31 kB / 0.5227 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.383, allocations: 197.4 kB / 0.5229 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.383, allocations: 1.531 kB / 0.5229 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.3831, allocations: 11.59 kB / 0.5229 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.3833, allocations: 63.89 kB / 0.5229 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3833, allocations: 0.8438 kB / 0.5229 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3833, allocations: 0 / 0.5229 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3834, allocations: 1.125 kB / 0.5229 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3835, allocations: 51.69 kB / 0.523 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.3841, allocations: 300.6 kB / 0.5233 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.3844, allocations: 54.28 kB / 0.5233 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.3845, allocations: 36.42 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.3845, allocations: 0.9688 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.3845, allocations: 32.72 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.744e-06/0.3845, allocations: 0 / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001649/0.3862, allocations: 386.5 kB / 0.5238 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.3863, allocations: 60.56 kB / 0.5238 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.3865, allocations: 201.7 kB / 0.524 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3865, allocations: 29.7 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.3866, allocations: 109.5 kB / 0.5242 GB, free: 372 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.3867, allocations: 30.78 kB / 0.5242 GB, free: 348 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.3867, allocations: 26.78 kB / 0.5242 GB, free: 324 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.3868, allocations: 322.7 kB / 0.5245 GB, free: 0 / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.387, allocations: 47.17 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.3872, allocations: 44.53 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.3875, allocations: 101.8 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3875, allocations: 0 / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000379/0.3879, allocations: 144.1 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3879, allocations: 5.156 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3879, allocations: 0 / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3879, allocations: 0.5156 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.388, allocations: 33.75 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3881, allocations: 1.812 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.3881, allocations: 12.84 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3882, allocations: 1.969 kB / 0.5249 GB, free: 15.85 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.0001241/0.3883, allocations: 131.5 kB / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.3883, allocations: 14.88 kB / 0.525 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.3887, allocations: 160.7 kB / 0.5252 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3888, allocations: 6.234 kB / 0.5252 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3888, allocations: 0 / 0.5252 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3888, allocations: 5.734 kB / 0.5252 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007112/0.3895, allocations: 470.8 kB / 0.5256 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3895, allocations: 2.344 kB / 0.5256 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3896, allocations: 27.91 kB / 0.5257 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3896, allocations: 5.984 kB / 0.5257 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3897, allocations: 6.75 kB / 0.5257 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3897, allocations: 1.641 kB / 0.5257 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3897, allocations: 1.281 kB / 0.5257 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.3901, allocations: 264.1 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.3902, allocations: 89.8 kB / 0.526 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.3902, allocations: 8.578 kB / 0.526 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.3903, allocations: 11.17 kB / 0.526 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.3904, allocations: 8.828 kB / 0.5261 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.3904, allocations: 3.453 kB / 0.5261 GB, free: 14.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.3905, allocations: 156 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3905, allocations: 0 / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.3908, allocations: 23.14 kB / 0.5262 GB, free: 14.84 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.001116/0.3919, allocations: 456.8 kB / 0.5267 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.3923, allocations: 116.9 kB / 0.5268 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3923, allocations: 0 / 0.5268 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3925, allocations: 59.41 kB / 0.5268 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.3929, allocations: 23.95 kB / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.3935, allocations: 305.1 kB / 0.5271 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.3938, allocations: 0.7155 MB / 0.5278 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.3939, allocations: 18.92 kB / 0.5279 GB, free: 13.62 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3939, allocations: 0 / 0.5279 GB, free: 13.62 MB / 398.1 MB Notification: Performance of Templates: time 0.004755/0.3987, allocations: 1.923 MB / 0.5297 GB, free: 12.8 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches