Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001289/0.001289, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001451/0.001451, allocations: 210.6 kB / 24.47 MB, free: 3.977 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.545/1.545, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2459/0.2459, allocations: 46.96 MB / 361.6 MB, free: 4.062 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 75.89 kB / 0.4974 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4195, allocations: 66.04 MB / 0.5619 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003608/0.4231, allocations: 1.788 MB / 0.5636 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.4251, allocations: 1.038 MB / 0.5646 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.924e-05/0.4252, allocations: 4 kB / 0.5646 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.4258, allocations: 311.2 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.4263, allocations: 259.2 kB / 0.5652 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.4266, allocations: 107.7 kB / 0.5653 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.4269, allocations: 267.2 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.278e-05/0.427, allocations: 9.812 kB / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.4272, allocations: 139.5 kB / 0.5657 GB, free: 268 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.4275, allocations: 219.5 kB / 0.5659 GB, free: 48 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.4275, allocations: 8 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.4277, allocations: 48.06 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.4279, allocations: 139.4 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.428, allocations: 111 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.4286, allocations: 384.6 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4286, allocations: 4 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4286, allocations: 0 / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.4286, allocations: 0 / 0.5665 GB, free: 15.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001281/0.4299, allocations: 0.6902 MB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.43, allocations: 12.03 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.4301, allocations: 52.61 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007853/0.4309, allocations: 390.5 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.4309, allocations: 8.359 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.4309, allocations: 8.125 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.4312, allocations: 87.3 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4312, allocations: 0 / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.4312, allocations: 0 / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.4312, allocations: 8 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.4313, allocations: 31.97 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.4318, allocations: 318 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.4322, allocations: 105.2 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.4323, allocations: 37.7 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.4323, allocations: 0 / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.4326, allocations: 124.9 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4326, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006255/0.4332, allocations: 209.2 kB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.4333, allocations: 81.11 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.4347, allocations: 1.062 MB / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.4347, allocations: 25.7 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.435, allocations: 240.1 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.4351, allocations: 27.75 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.4351, allocations: 29.7 kB / 0.57 GB, free: 11.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.4353, allocations: 374.8 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.647e-05/0.4354, allocations: 31.98 kB / 0.5704 GB, free: 11.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.4355, allocations: 63.41 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.4357, allocations: 91.34 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4357, allocations: 0.5 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003607/0.4361, allocations: 189.1 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4361, allocations: 12.06 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.4361, allocations: 0 / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.4361, allocations: 4 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.4363, allocations: 23.92 kB / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.4363, allocations: 0 / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.951e-05/0.4364, allocations: 11.94 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.4364, allocations: 4 kB / 0.5707 GB, free: 10.84 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002739/0.4367, allocations: 225.7 kB / 0.571 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.4368, allocations: 55.56 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.4372, allocations: 209.8 kB / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4372, allocations: 0 / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.4372, allocations: 0 / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.4372, allocations: 7.984 kB / 0.5712 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.4376, allocations: 265.2 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4376, allocations: 0 / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.4376, allocations: 15.98 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4376, allocations: 3.938 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4377, allocations: 0 / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4377, allocations: 4 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4377, allocations: 0 / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.4381, allocations: 229.4 kB / 0.5717 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.4382, allocations: 75.47 kB / 0.5718 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.4383, allocations: 4.25 kB / 0.5718 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.4383, allocations: 11.98 kB / 0.5718 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.4384, allocations: 11.98 kB / 0.5718 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.4384, allocations: 4 kB / 0.5718 GB, free: 9.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.4395, allocations: 0.7917 MB / 0.5726 GB, free: 8.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4395, allocations: 0 / 0.5726 GB, free: 8.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.4398, allocations: 44 kB / 0.5726 GB, free: 8.832 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00192/0.4417, allocations: 441.4 kB / 0.5731 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.442, allocations: 83.84 kB / 0.5731 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.442, allocations: 0 / 0.5731 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.4421, allocations: 44.34 kB / 0.5732 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.4426, allocations: 85.19 kB / 0.5733 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.444, allocations: 0.8973 MB / 0.5741 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.4443, allocations: 245.7 kB / 0.5744 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.4444, allocations: 58.94 kB / 0.5744 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.4445, allocations: 31.44 kB / 0.5745 GB, free: 7.102 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4445, allocations: 0 / 0.5745 GB, free: 7.102 MB / 414.1 MB Notification: Performance of Templates: time 0.01006/0.4546, allocations: 4.4 MB / 0.5788 GB, free: 2.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.459401407002588]