Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001538/0.001538, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.00194/0.00194, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.235/0.235, allocations: 46.93 MB / 360.8 MB, free: 4.359 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.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 64.03 kB / 0.4967 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.412, allocations: 66.03 MB / 0.5612 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004606/0.4166, allocations: 1.943 MB / 0.5631 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.4188, allocations: 1.155 MB / 0.5642 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.419, allocations: 3.938 kB / 0.5642 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007453/0.4197, allocations: 259.3 kB / 0.5645 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.4203, allocations: 235.2 kB / 0.5647 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.4207, allocations: 115.7 kB / 0.5648 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.4212, allocations: 275.2 kB / 0.5651 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.4214, allocations: 13.97 kB / 0.5651 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/0.4217, allocations: 151.4 kB / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.4221, allocations: 207.4 kB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.4221, allocations: 8 kB / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.4223, allocations: 63.98 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.4225, allocations: 71.69 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.4226, allocations: 95.17 kB / 0.5657 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.423, allocations: 261.2 kB / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.423, allocations: 0 / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.423, allocations: 0 / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.4231, allocations: 4 kB / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001052/0.4241, allocations: 0.5235 MB / 0.5664 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4242, allocations: 8.031 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.4243, allocations: 32.73 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.4248, allocations: 236.8 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.4248, allocations: 4.375 kB / 0.5667 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.4249, allocations: 16.11 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.4252, allocations: 107.4 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.4252, allocations: 11.92 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.4252, allocations: 0 / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4252, allocations: 0 / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.4254, allocations: 47.97 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008949/0.4263, allocations: 459.8 kB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.4267, allocations: 117.2 kB / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.4268, allocations: 45.75 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.4269, allocations: 4 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.4272, allocations: 125 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.4272, allocations: 0 / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001531/0.4287, allocations: 0.5053 MB / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/0.4288, allocations: 89.05 kB / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/0.4294, allocations: 0.4937 MB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.4295, allocations: 29.7 kB / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.4296, allocations: 164.5 kB / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/0.4297, allocations: 79.41 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.4298, allocations: 41.7 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.43, allocations: 350.8 kB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.4301, allocations: 55.97 kB / 0.5693 GB, free: 11.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4303, allocations: 99.33 kB / 0.5694 GB, free: 11.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.4306, allocations: 159.5 kB / 0.5696 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4306, allocations: 0 / 0.5696 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004448/0.431, allocations: 245.2 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.4311, allocations: 11.94 kB / 0.5698 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4311, allocations: 240 / 0.5698 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4311, allocations: 0 / 0.5698 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.4312, allocations: 39.98 kB / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.4312, allocations: 7.984 kB / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.014e-05/0.4313, allocations: 11.98 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.4313, allocations: 4 kB / 0.5699 GB, free: 11.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002598/0.4316, allocations: 182.3 kB / 0.5701 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.4317, allocations: 39.7 kB / 0.5701 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.4323, allocations: 260.4 kB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.4323, allocations: 4 kB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4323, allocations: 4 kB / 0.5704 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.4323, allocations: 3.984 kB / 0.5704 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.4335, allocations: 0.7107 MB / 0.571 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.4335, allocations: 7.984 kB / 0.5711 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.4336, allocations: 27.94 kB / 0.5711 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4336, allocations: 0 / 0.5711 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.4336, allocations: 11.98 kB / 0.5711 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.4337, allocations: 4 kB / 0.5711 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4337, allocations: 0 / 0.5711 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.4342, allocations: 432 kB / 0.5715 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.4343, allocations: 31.81 kB / 0.5715 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.4343, allocations: 11.94 kB / 0.5716 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.4345, allocations: 15.98 kB / 0.5716 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.4345, allocations: 19.91 kB / 0.5716 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.4345, allocations: 12 kB / 0.5716 GB, free: 9.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004263/0.435, allocations: 375.1 kB / 0.572 GB, free: 8.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.435, allocations: 3.938 kB / 0.572 GB, free: 8.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004219/0.4354, allocations: 51.92 kB / 0.572 GB, free: 8.918 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002235/0.4376, allocations: 0.5222 MB / 0.5725 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003936/0.438, allocations: 144 kB / 0.5727 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.438, allocations: 0 / 0.5727 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.4382, allocations: 75.84 kB / 0.5727 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/0.4388, allocations: 67.97 kB / 0.5728 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.44, allocations: 0.602 MB / 0.5734 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.4406, allocations: 0.787 MB / 0.5741 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.4407, allocations: 41.92 kB / 0.5742 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/0.4408, allocations: 31.42 kB / 0.5742 GB, free: 6.801 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4408, allocations: 0 / 0.5742 GB, free: 6.801 MB / 414.1 MB Notification: Performance of Templates: time 0.00953/0.4503, allocations: 3.284 MB / 0.5774 GB, free: 3.547 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.666099974885583]