Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001344/0.001344, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001432/0.001432, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2498/0.2498, allocations: 46.93 MB / 361.6 MB, free: 4.273 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 71.89 kB / 0.4974 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4269, allocations: 66.03 MB / 0.5619 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004065/0.431, allocations: 1.96 MB / 0.5638 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.4331, allocations: 1.084 MB / 0.5649 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.4333, allocations: 7.938 kB / 0.5649 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.4336, allocations: 55.62 kB / 0.565 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.434, allocations: 91.55 kB / 0.5651 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.4342, allocations: 99.64 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.4346, allocations: 151.5 kB / 0.5653 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.4347, allocations: 25.39 kB / 0.5653 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.4349, allocations: 59.72 kB / 0.5654 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.4351, allocations: 51.7 kB / 0.5654 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.4351, allocations: 8 kB / 0.5654 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.4352, allocations: 47.98 kB / 0.5655 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.645e-05/0.4353, allocations: 27.92 kB / 0.5655 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.4354, allocations: 63.53 kB / 0.5656 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.4358, allocations: 142.1 kB / 0.5657 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.4359, allocations: 4 kB / 0.5657 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4359, allocations: 0 / 0.5657 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.4359, allocations: 0 / 0.5657 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.0009514/0.4368, allocations: 415 kB / 0.5661 GB, free: 72 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.4369, allocations: 8.031 kB / 0.5661 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.793e-05/0.437, allocations: 24.78 kB / 0.5661 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.4375, allocations: 167.1 kB / 0.5663 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.4375, allocations: 8.375 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.4375, allocations: 8.125 kB / 0.5663 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.4378, allocations: 112.2 kB / 0.5664 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4379, allocations: 0 / 0.5664 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.4379, allocations: 8 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4379, allocations: 4 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.4381, allocations: 43.97 kB / 0.5665 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007812/0.4389, allocations: 484.1 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.4392, allocations: 98.53 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.4393, allocations: 36.83 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4393, allocations: 0 / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.4396, allocations: 83.38 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.4396, allocations: 0 / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004423/0.44, allocations: 145.4 kB / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4401, allocations: 55.34 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.4403, allocations: 203.1 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.4403, allocations: 29.7 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4404, allocations: 120.1 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.4405, allocations: 27.75 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.4405, allocations: 33.7 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4407, allocations: 326.8 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.4408, allocations: 31.92 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.4409, allocations: 60.27 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.4412, allocations: 100.2 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4412, allocations: 0 / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002744/0.4414, allocations: 133.5 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4414, allocations: 12.03 kB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4415, allocations: 0 / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4415, allocations: 7.984 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4416, allocations: 27.86 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4416, allocations: 4 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.4417, allocations: 12.42 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4417, allocations: 4 kB / 0.5684 GB, free: 13.5 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.0001271/0.4418, allocations: 133.7 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.4418, allocations: 19.91 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.4421, allocations: 130.9 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.4421, allocations: 3.938 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4421, allocations: 0 / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.4421, allocations: 0 / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.4424, allocations: 180.7 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4424, allocations: 4 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.4424, allocations: 15.92 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.4424, allocations: 0 / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.4425, allocations: 8 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4425, allocations: 11.88 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4425, allocations: 0 / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.4428, allocations: 176.9 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.4429, allocations: 15.92 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.4429, allocations: 4 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.176e-05/0.443, allocations: 12 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.443, allocations: 11.98 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.443, allocations: 4 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.4432, allocations: 143.2 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4432, allocations: 0 / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.4434, allocations: 31.92 kB / 0.5693 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.001581/0.445, allocations: 408.1 kB / 0.5697 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.4452, allocations: 79.84 kB / 0.5697 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4453, allocations: 0 / 0.5697 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.4454, allocations: 39.91 kB / 0.5698 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.000302/0.4457, allocations: 36.11 kB / 0.5698 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.4463, allocations: 305 kB / 0.5701 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.4467, allocations: 0.7204 MB / 0.5708 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.4468, allocations: 23.38 kB / 0.5708 GB, free: 11.03 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4468, allocations: 0 / 0.5708 GB, free: 11.03 MB / 414.1 MB Notification: Performance of Templates: time 0.004943/0.4518, allocations: 2.215 MB / 0.573 GB, free: 8.824 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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: 8.40526377898641]