Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001843/0.001843, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00196/0.00196, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2437/0.2437, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 63.91 kB / 0.4967 GB, free: 7.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.4006, allocations: 66.04 MB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003429/0.4041, allocations: 1.706 MB / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.406, allocations: 0.9742 MB / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.406, allocations: 0 / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.4064, allocations: 47.77 kB / 0.5638 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.4068, allocations: 99.59 kB / 0.5639 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.4071, allocations: 83.66 kB / 0.564 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.4073, allocations: 99.64 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.4074, allocations: 11.98 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.4075, allocations: 43.78 kB / 0.5641 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.4076, allocations: 31.8 kB / 0.5642 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.4076, allocations: 4 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.4077, allocations: 43.98 kB / 0.5642 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.4078, allocations: 23.91 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.4079, allocations: 31.73 kB / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.4081, allocations: 129.8 kB / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4081, allocations: 0 / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4081, allocations: 0 / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.4081, allocations: 0 / 0.5644 GB, free: 0.8047 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006569/0.4088, allocations: 353.5 kB / 0.5647 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4088, allocations: 8.031 kB / 0.5647 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.4089, allocations: 8.891 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.4092, allocations: 162.3 kB / 0.5649 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.4092, allocations: 12.31 kB / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.4093, allocations: 4.125 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.4095, allocations: 57.61 kB / 0.565 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.4095, allocations: 8 kB / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4095, allocations: 0 / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4095, allocations: 0 / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.4096, allocations: 19.98 kB / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.4101, allocations: 236.5 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.4103, allocations: 66.61 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/0.4103, allocations: 20.84 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.4103, allocations: 0 / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.4105, allocations: 67.39 kB / 0.5654 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.4105, allocations: 0 / 0.5654 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006676/0.4112, allocations: 185.3 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.4112, allocations: 55.34 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.4115, allocations: 222.6 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.4115, allocations: 33.7 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.4116, allocations: 108.1 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.4116, allocations: 19.86 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.4117, allocations: 29.7 kB / 0.566 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.4119, allocations: 326.8 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.412, allocations: 20 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.4121, allocations: 37.64 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.4122, allocations: 61.7 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4122, allocations: 0 / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002355/0.4124, allocations: 109.5 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4124, allocations: 4 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4125, allocations: 4 kB / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.4125, allocations: 0 / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4126, allocations: 15.98 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4126, allocations: 0 / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.4126, allocations: 8 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.4127, allocations: 4 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001264/0.4128, allocations: 129.7 kB / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.4128, allocations: 19.89 kB / 0.5667 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.4131, allocations: 131.2 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4131, allocations: 0 / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4131, allocations: 4 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4131, allocations: 0 / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.4137, allocations: 351.4 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4137, allocations: 4 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.4137, allocations: 12 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4137, allocations: 3.984 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4137, allocations: 0 / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4137, allocations: 4.031 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4137, allocations: 8.016 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.414, allocations: 220.2 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.4141, allocations: 7.953 kB / 0.5674 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.4141, allocations: 3.984 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.4142, allocations: 8 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.4142, allocations: 15.86 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.4142, allocations: 0 / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.4144, allocations: 159.2 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4144, allocations: 4 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000285/0.4147, allocations: 20 kB / 0.5676 GB, free: 13.23 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001924/0.4166, allocations: 499.3 kB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.4168, allocations: 55.97 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4168, allocations: 8 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.4169, allocations: 27.98 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.4173, allocations: 27.97 kB / 0.5682 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.4178, allocations: 254.8 kB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.418, allocations: 88.75 kB / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.143e-05/0.418, allocations: 21.33 kB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.4181, allocations: 15.44 kB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4181, allocations: 0 / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of Templates: time 0.005555/0.4236, allocations: 1.929 MB / 0.5704 GB, free: 10.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.379335282370448]