Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001695/0.001695, allocations: 115.6 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.002061/0.002061, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2537/0.2537, allocations: 46.92 MB / 360.8 MB, free: 4.297 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003583/0.003583, allocations: 67.89 kB / 0.4967 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4131, allocations: 66.03 MB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003655/0.4168, allocations: 1.956 MB / 0.5631 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.4187, allocations: 1.091 MB / 0.5642 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.4188, allocations: 0 / 0.5642 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.4191, allocations: 51.64 kB / 0.5642 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.4194, allocations: 103.5 kB / 0.5643 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.4197, allocations: 95.59 kB / 0.5644 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.4199, allocations: 155.5 kB / 0.5645 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.4201, allocations: 21.39 kB / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.4202, allocations: 63.72 kB / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.4203, allocations: 47.7 kB / 0.5647 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.4203, allocations: 8 kB / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.4204, allocations: 47.98 kB / 0.5647 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.4205, allocations: 23.92 kB / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.666e-05/0.4206, allocations: 63.53 kB / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.4209, allocations: 154.1 kB / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4209, allocations: 0 / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4209, allocations: 0 / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.4209, allocations: 0 / 0.565 GB, free: 0.5117 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006815/0.4215, allocations: 407 kB / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4216, allocations: 12.03 kB / 0.5654 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.4216, allocations: 16.84 kB / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.422, allocations: 182.9 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.422, allocations: 8.375 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.422, allocations: 8.125 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.4223, allocations: 112.2 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4223, allocations: 0 / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4223, allocations: 0 / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4223, allocations: 0 / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.4225, allocations: 51.97 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.4231, allocations: 488.1 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.4234, allocations: 90.53 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.4235, allocations: 36.84 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.4235, allocations: 0 / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.4237, allocations: 75.38 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 4.008e-06/0.4237, allocations: 3.984 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004777/0.4242, allocations: 153.7 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.4243, allocations: 55.34 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.4245, allocations: 207.1 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.4245, allocations: 29.7 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.4246, allocations: 112.1 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.4246, allocations: 31.73 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.4247, allocations: 29.72 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4248, allocations: 334.8 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.4249, allocations: 31.92 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.425, allocations: 56.28 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.4253, allocations: 100.2 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4253, allocations: 0 / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002822/0.4255, allocations: 133.4 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.4256, allocations: 8 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4256, allocations: 8.109 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4256, allocations: 0 / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.4257, allocations: 35.86 kB / 0.5676 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.4257, allocations: 4 kB / 0.5677 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.4258, allocations: 15.94 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4258, allocations: 4 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001212/0.4259, allocations: 129.7 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.426, allocations: 15.91 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.4263, allocations: 131.1 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.4263, allocations: 7.938 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4263, allocations: 0 / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4263, allocations: 0 / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.4265, allocations: 184.7 kB / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4265, allocations: 0 / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/0.4266, allocations: 15.94 kB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4266, allocations: 0 / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.4266, allocations: 4 kB / 0.5681 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4266, allocations: 7.875 kB / 0.5681 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4266, allocations: 8 kB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.427, allocations: 180.9 kB / 0.5683 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.427, allocations: 11.94 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.427, allocations: 0 / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.4271, allocations: 15.92 kB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.4272, allocations: 7.984 kB / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.4272, allocations: 8.062 kB / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.4273, allocations: 143.2 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4273, allocations: 0 / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.4276, allocations: 27.94 kB / 0.5685 GB, free: 12.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.001496/0.4291, allocations: 402 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.4293, allocations: 80.02 kB / 0.569 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4293, allocations: 4.062 kB / 0.569 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.4294, allocations: 31.98 kB / 0.569 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.4297, allocations: 48.25 kB / 0.5691 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/0.4304, allocations: 271.4 kB / 0.5693 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.4309, allocations: 0.7205 MB / 0.57 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.896e-05/0.431, allocations: 21.34 kB / 0.5701 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.431, allocations: 19.42 kB / 0.5701 GB, free: 11.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.431, allocations: 4 kB / 0.5701 GB, free: 11.05 MB / 414.1 MB Notification: Performance of Templates: time 0.006791/0.4378, allocations: 1.956 MB / 0.572 GB, free: 9.105 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.4811030849814415]