Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 196.5 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 251.6 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 44.92 MB / 351.6 MB, free: 12.24 MB / 286.1 MB " [Timeout remaining time 179] 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 75.89 kB / 495.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.372, allocations: 64.25 MB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003646/0.3757, allocations: 1.658 MB / 0.548 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00096/0.3766, allocations: 447 kB / 0.5485 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.3767, allocations: 1.969 kB / 0.5485 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.3774, allocations: 459.2 kB / 0.5489 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.3779, allocations: 254.9 kB / 0.5492 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.3783, allocations: 126.5 kB / 0.5493 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.3787, allocations: 175 kB / 0.5494 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3788, allocations: 13.02 kB / 0.5495 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.3789, allocations: 114.5 kB / 0.5496 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.3793, allocations: 247.9 kB / 0.5498 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3793, allocations: 7.578 kB / 0.5498 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.3795, allocations: 50.81 kB / 0.5499 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.3796, allocations: 82.98 kB / 0.5499 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.3797, allocations: 106.9 kB / 0.55 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.3801, allocations: 266.2 kB / 0.5503 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3801, allocations: 4 kB / 0.5503 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3801, allocations: 0 / 0.5503 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3801, allocations: 1.031 kB / 0.5503 GB, free: 10.64 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009784/0.3811, allocations: 0.6524 MB / 0.5509 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.438e-05/0.3812, allocations: 8.781 kB / 0.5509 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3813, allocations: 51.27 kB / 0.551 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.3817, allocations: 303 kB / 0.5513 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3817, allocations: 6.5 kB / 0.5513 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.3818, allocations: 6.062 kB / 0.5513 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.382, allocations: 67.05 kB / 0.5514 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.382, allocations: 5.297 kB / 0.5514 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.382, allocations: 0 / 0.5514 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.382, allocations: 1.312 kB / 0.5514 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.3822, allocations: 42.78 kB / 0.5514 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006843/0.3828, allocations: 396.5 kB / 0.5518 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.3831, allocations: 57.88 kB / 0.5518 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.3832, allocations: 24.47 kB / 0.5519 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.3832, allocations: 1.156 kB / 0.5519 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3833, allocations: 34.55 kB / 0.5519 GB, free: 9.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.3833, allocations: 1.25 kB / 0.5519 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001639/0.3849, allocations: 472.2 kB / 0.5523 GB, free: 8.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.385, allocations: 56.56 kB / 0.5524 GB, free: 8.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.386, allocations: 0.8545 MB / 0.5532 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3861, allocations: 25.7 kB / 0.5533 GB, free: 8.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.3863, allocations: 215.5 kB / 0.5535 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.3863, allocations: 36.3 kB / 0.5535 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.3864, allocations: 29.33 kB / 0.5535 GB, free: 8.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.3866, allocations: 359.7 kB / 0.5539 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3867, allocations: 50.8 kB / 0.5539 GB, free: 7.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3868, allocations: 41.16 kB / 0.554 GB, free: 7.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.3871, allocations: 99.83 kB / 0.554 GB, free: 7.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3871, allocations: 0 / 0.554 GB, free: 7.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003479/0.3874, allocations: 179 kB / 0.5542 GB, free: 7.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3874, allocations: 5.188 kB / 0.5542 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3874, allocations: 0 / 0.5542 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3875, allocations: 1.094 kB / 0.5542 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3876, allocations: 44.97 kB / 0.5543 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3876, allocations: 0 / 0.5543 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.3877, allocations: 9.703 kB / 0.5543 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3877, allocations: 3.938 kB / 0.5543 GB, free: 7.559 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.0002194/0.3879, allocations: 209.8 kB / 0.5545 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.132e-05/0.388, allocations: 47.72 kB / 0.5545 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004338/0.3884, allocations: 205.4 kB / 0.5547 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3884, allocations: 3.938 kB / 0.5547 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3884, allocations: 0 / 0.5547 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3884, allocations: 3.984 kB / 0.5547 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.3893, allocations: 0.5663 MB / 0.5553 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3893, allocations: 0 / 0.5553 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-05/0.3894, allocations: 27.92 kB / 0.5553 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3894, allocations: 0 / 0.5553 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3894, allocations: 4 kB / 0.5553 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3894, allocations: 0 / 0.5553 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3894, allocations: 0 / 0.5553 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.3898, allocations: 288.9 kB / 0.5556 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3899, allocations: 112.8 kB / 0.5557 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.39, allocations: 0 / 0.5557 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3901, allocations: 15.98 kB / 0.5557 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.3901, allocations: 7.984 kB / 0.5557 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3901, allocations: 8.094 kB / 0.5557 GB, free: 5.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000737/0.3909, allocations: 0.6472 MB / 0.5564 GB, free: 5.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3909, allocations: 0 / 0.5564 GB, free: 5.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3912, allocations: 35.92 kB / 0.5564 GB, free: 5.281 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.001726/0.3929, allocations: 464.6 kB / 0.5568 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.3932, allocations: 103.9 kB / 0.5569 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3933, allocations: 0 / 0.5569 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.3934, allocations: 52.03 kB / 0.557 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.3939, allocations: 37.34 kB / 0.557 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3952, allocations: 0.851 MB / 0.5579 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.3958, allocations: 0.8297 MB / 0.5587 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.3959, allocations: 20.36 kB / 0.5587 GB, free: 3.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.3959, allocations: 15.44 kB / 0.5587 GB, free: 3.043 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3959, allocations: 0 / 0.5587 GB, free: 3.043 MB / 398.1 MB Notification: Performance of Templates: time 0.006/0.4019, allocations: 1.887 MB / 0.5605 GB, free: 1.164 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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: 5.358091763220727]