Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001431/0.001431, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001566/0.001566, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2419/0.2419, allocations: 44.94 MB / 358.8 MB, free: 6.086 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.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 67.91 kB / 0.4935 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3817, allocations: 65.49 MB / 0.5575 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003273/0.385, allocations: 1.597 MB / 0.559 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3862, allocations: 0.5271 MB / 0.5596 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.3863, allocations: 4 kB / 0.5596 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.3866, allocations: 75.7 kB / 0.5596 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.3869, allocations: 103.6 kB / 0.5597 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.3871, allocations: 91.27 kB / 0.5598 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.3873, allocations: 79.81 kB / 0.5599 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3874, allocations: 18.66 kB / 0.5599 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.3875, allocations: 35.84 kB / 0.5599 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3876, allocations: 55.75 kB / 0.56 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3876, allocations: 4 kB / 0.56 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3877, allocations: 43.98 kB / 0.56 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.3878, allocations: 19.92 kB / 0.5601 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.3878, allocations: 23.81 kB / 0.5601 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.388, allocations: 103.3 kB / 0.5602 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.388, allocations: 3.938 kB / 0.5602 GB, free: 4.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.388, allocations: 0 / 0.5602 GB, free: 4.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.388, allocations: 0 / 0.5602 GB, free: 4.707 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005078/0.3886, allocations: 341.6 kB / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3886, allocations: 12.03 kB / 0.5605 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.3886, allocations: 12.84 kB / 0.5605 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3888, allocations: 142.3 kB / 0.5607 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3888, allocations: 4.375 kB / 0.5607 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.3889, allocations: 8.375 kB / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.389, allocations: 49.81 kB / 0.5607 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.389, allocations: 3.984 kB / 0.5607 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.389, allocations: 0 / 0.5607 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.389, allocations: 4 kB / 0.5607 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.392e-05/0.3891, allocations: 27.92 kB / 0.5608 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.3895, allocations: 240.4 kB / 0.561 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.3896, allocations: 42.56 kB / 0.561 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.3897, allocations: 16.94 kB / 0.5611 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3897, allocations: 0 / 0.5611 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.3897, allocations: 42.5 kB / 0.5611 GB, free: 3.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3897, allocations: 0 / 0.5611 GB, free: 3.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009402/0.3907, allocations: 217.6 kB / 0.5613 GB, free: 3.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.3907, allocations: 59.28 kB / 0.5614 GB, free: 3.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.391, allocations: 199.3 kB / 0.5615 GB, free: 3.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.391, allocations: 29.7 kB / 0.5616 GB, free: 3.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.3911, allocations: 108.1 kB / 0.5617 GB, free: 3.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.3911, allocations: 27.75 kB / 0.5617 GB, free: 2.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.3911, allocations: 25.7 kB / 0.5617 GB, free: 2.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3913, allocations: 330.8 kB / 0.562 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.3914, allocations: 23.98 kB / 0.5621 GB, free: 2.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.3915, allocations: 23.98 kB / 0.5621 GB, free: 2.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.3916, allocations: 69.11 kB / 0.5622 GB, free: 2.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3916, allocations: 0 / 0.5622 GB, free: 2.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002367/0.3919, allocations: 101.5 kB / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3919, allocations: 8 kB / 0.5623 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3919, allocations: 0 / 0.5623 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3919, allocations: 0 / 0.5623 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.392, allocations: 20.03 kB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3921, allocations: 0 / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.3921, allocations: 11.98 kB / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3921, allocations: 3.938 kB / 0.5623 GB, free: 2.367 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 (8): * Single equations (assignments): 8 * 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.0001493/0.3923, allocations: 125.8 kB / 0.5624 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.3923, allocations: 11.91 kB / 0.5624 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.3926, allocations: 123 kB / 0.5625 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3926, allocations: 4 kB / 0.5625 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3926, allocations: 0 / 0.5625 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3927, allocations: 0 / 0.5625 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.3932, allocations: 338.9 kB / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3932, allocations: 0 / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.3933, allocations: 19.98 kB / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.3933, allocations: 8.031 kB / 0.5629 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3933, allocations: 4 kB / 0.5629 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3933, allocations: 7.875 kB / 0.5629 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3933, allocations: 4 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.3936, allocations: 204.3 kB / 0.5631 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.3936, allocations: 7.953 kB / 0.5631 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.3936, allocations: 0 / 0.5631 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.3937, allocations: 19.86 kB / 0.5631 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.3938, allocations: 7.984 kB / 0.5631 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.3938, allocations: 4 kB / 0.5631 GB, free: 1.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.3939, allocations: 153.8 kB / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3939, allocations: 0 / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.3942, allocations: 23.92 kB / 0.5633 GB, free: 1.238 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 (8): * Single equations (assignments): 8 * 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.001892/0.3961, allocations: 491.8 kB / 0.5638 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3963, allocations: 63.95 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3963, allocations: 0 / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3964, allocations: 35.91 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.3968, allocations: 26.42 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.3973, allocations: 247.2 kB / 0.5641 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.776e-05/0.3974, allocations: 92.25 kB / 0.5642 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.3975, allocations: 12.66 kB / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.3975, allocations: 15.38 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3975, allocations: 0 / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of Templates: time 0.004701/0.4022, allocations: 1.41 MB / 0.5656 GB, free: 15.03 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.217637699097395]