Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 8.211 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2187/0.2187, allocations: 46.95 MB / 361.6 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 75.89 kB / 0.4974 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3794, allocations: 66.01 MB / 0.5619 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003132/0.3826, allocations: 1.671 MB / 0.5635 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3836, allocations: 0.5738 MB / 0.5641 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.3837, allocations: 0 / 0.5641 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.384, allocations: 95.67 kB / 0.5642 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.3843, allocations: 115.6 kB / 0.5643 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.3846, allocations: 123.3 kB / 0.5644 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.3848, allocations: 103.7 kB / 0.5645 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3849, allocations: 27.64 kB / 0.5645 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.173e-05/0.385, allocations: 51.77 kB / 0.5646 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3851, allocations: 67.8 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3851, allocations: 4 kB / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.379e-05/0.3852, allocations: 43.98 kB / 0.5647 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.3852, allocations: 31.86 kB / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.3853, allocations: 51.59 kB / 0.5648 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3855, allocations: 130.1 kB / 0.5649 GB, free: 1.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3855, allocations: 4 kB / 0.5649 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3855, allocations: 0 / 0.5649 GB, free: 1.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3855, allocations: 0 / 0.5649 GB, free: 1.32 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005088/0.386, allocations: 364 kB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3861, allocations: 8.031 kB / 0.5652 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.3861, allocations: 16.84 kB / 0.5653 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.3863, allocations: 162.8 kB / 0.5654 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3863, allocations: 384 / 0.5654 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3864, allocations: 8.375 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3865, allocations: 85.72 kB / 0.5655 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3866, allocations: 3.953 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3866, allocations: 0 / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3866, allocations: 4 kB / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3867, allocations: 43.95 kB / 0.5656 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.3872, allocations: 307.8 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.3873, allocations: 66.55 kB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.3873, allocations: 24.84 kB / 0.5659 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3874, allocations: 4 kB / 0.5659 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.3874, allocations: 30.56 kB / 0.566 GB, free: 96 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3874, allocations: 0 / 0.566 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00106/0.3885, allocations: 349.7 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3885, allocations: 55.41 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.3888, allocations: 235.5 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3888, allocations: 25.7 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.3889, allocations: 124 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.3889, allocations: 39.64 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.3889, allocations: 29.72 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3891, allocations: 326.8 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3892, allocations: 43.97 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.384e-05/0.3893, allocations: 43.97 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.3895, allocations: 112.8 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3895, allocations: 0 / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000282/0.3898, allocations: 161 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3898, allocations: 8 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.3898, allocations: 0 / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3898, allocations: 3.938 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3899, allocations: 23.98 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3899, allocations: 0 / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.39, allocations: 7.984 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.39, allocations: 8 kB / 0.5675 GB, free: 14.46 MB / 414.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.000126/0.3901, allocations: 149.7 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.3902, allocations: 11.91 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.3905, allocations: 190.9 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3905, allocations: 3.984 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3905, allocations: 4 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3906, allocations: 0 / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.3912, allocations: 474.2 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3912, allocations: 3.938 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.309e-05/0.3913, allocations: 27.97 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3913, allocations: 4 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3913, allocations: 4 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3913, allocations: 0 / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3913, allocations: 4 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.3917, allocations: 260.2 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.3917, allocations: 11.91 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.3917, allocations: 7.984 kB / 0.5686 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.3918, allocations: 0 / 0.5686 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.3918, allocations: 15.98 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3918, allocations: 4 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.392, allocations: 189.1 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.392, allocations: 0 / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000252/0.3922, allocations: 27.94 kB / 0.5688 GB, free: 13.01 MB / 414.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.001643/0.3939, allocations: 461.1 kB / 0.5693 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.3942, allocations: 115.8 kB / 0.5694 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3942, allocations: 0 / 0.5694 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3943, allocations: 59.91 kB / 0.5694 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3947, allocations: 29.02 kB / 0.5695 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.3953, allocations: 361.4 kB / 0.5698 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.3958, allocations: 0.7203 MB / 0.5705 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.3958, allocations: 23.42 kB / 0.5705 GB, free: 11.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3958, allocations: 0 / 0.5705 GB, free: 11.38 MB / 414.1 MB Notification: Performance of Templates: time 0.006275/0.4021, allocations: 2.169 MB / 0.5727 GB, free: 9.215 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.547169534023851]