Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.00188/0.00188, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002328/0.002328, allocations: 212.7 kB / 23.74 MB, free: 4.66 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.719/1.719, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2579/0.2579, allocations: 46.93 MB / 360.8 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 59.91 kB / 0.4967 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4091, allocations: 66.05 MB / 0.5612 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00328/0.4124, allocations: 1.692 MB / 0.5628 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4135, allocations: 0.6011 MB / 0.5634 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.4136, allocations: 0 / 0.5634 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006787/0.4143, allocations: 459.1 kB / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005219/0.4148, allocations: 295.3 kB / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.4153, allocations: 171.5 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.4156, allocations: 183.6 kB / 0.5645 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.4157, allocations: 20.2 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.4158, allocations: 107.7 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.4161, allocations: 251.5 kB / 0.5648 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.4161, allocations: 4 kB / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.4163, allocations: 63.84 kB / 0.5649 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.4164, allocations: 79.64 kB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.4165, allocations: 115 kB / 0.5651 GB, free: 372 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.4169, allocations: 281 kB / 0.5653 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4169, allocations: 4 kB / 0.5653 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4169, allocations: 0 / 0.5653 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.4169, allocations: 0 / 0.5653 GB, free: 92 kB / 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.0008121/0.4177, allocations: 0.5854 MB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4178, allocations: 8.031 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.4178, allocations: 52.55 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.4181, allocations: 246.8 kB / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.4181, allocations: 384 / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.4182, allocations: 12.38 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.4183, allocations: 61.8 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4183, allocations: 0 / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.4184, allocations: 4 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4184, allocations: 0 / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.4185, allocations: 39.91 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.4191, allocations: 375.7 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.4192, allocations: 50.58 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.4192, allocations: 16.86 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.4193, allocations: 0 / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.4193, allocations: 34.64 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.4193, allocations: 0 / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001036/0.4203, allocations: 324.6 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.4204, allocations: 55.34 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009654/0.4213, allocations: 0.8737 MB / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.4214, allocations: 25.7 kB / 0.568 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.4216, allocations: 228 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.4216, allocations: 31.83 kB / 0.5683 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.4217, allocations: 21.72 kB / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.4219, allocations: 362.8 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/0.422, allocations: 27.92 kB / 0.5687 GB, free: 12.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.31e-05/0.422, allocations: 35.97 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.4222, allocations: 77.05 kB / 0.5688 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4222, allocations: 4 kB / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002808/0.4225, allocations: 157.2 kB / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4225, allocations: 4 kB / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4225, allocations: 0 / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4225, allocations: 0 / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.4226, allocations: 23.92 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4227, allocations: 3.938 kB / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.4227, allocations: 7.938 kB / 0.569 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4227, allocations: 8 kB / 0.569 GB, free: 12.19 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 (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.0002384/0.423, allocations: 217.8 kB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.423, allocations: 43.72 kB / 0.5692 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.4234, allocations: 170 kB / 0.5694 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4234, allocations: 0 / 0.5694 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4234, allocations: 3.938 kB / 0.5694 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4234, allocations: 4 kB / 0.5694 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007091/0.4241, allocations: 0.4943 MB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4241, allocations: 3.938 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.4242, allocations: 15.98 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4242, allocations: 4 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.4242, allocations: 0 / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4242, allocations: 0 / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4242, allocations: 32 / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.4246, allocations: 256 kB / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.4246, allocations: 43.61 kB / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.4246, allocations: 4 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.4247, allocations: 7.984 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.4248, allocations: 11.94 kB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.4248, allocations: 3.984 kB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007081/0.4255, allocations: 0.655 MB / 0.5708 GB, free: 10.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4255, allocations: 0 / 0.5708 GB, free: 10.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.4258, allocations: 31.94 kB / 0.5709 GB, free: 10.14 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 (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.001727/0.4275, allocations: 471.2 kB / 0.5713 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.4278, allocations: 75.89 kB / 0.5714 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4278, allocations: 0 / 0.5714 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.4279, allocations: 31.98 kB / 0.5714 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.4283, allocations: 35.86 kB / 0.5715 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.4296, allocations: 0.8426 MB / 0.5723 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.4301, allocations: 0.8338 MB / 0.5731 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.847e-05/0.4302, allocations: 20.42 kB / 0.5731 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.4303, allocations: 19.42 kB / 0.5731 GB, free: 7.945 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4303, allocations: 3.938 kB / 0.5731 GB, free: 7.941 MB / 414.1 MB Notification: Performance of Templates: time 0.006076/0.4364, allocations: 1.809 MB / 0.5749 GB, free: 6.145 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.938899987144396]