Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001763/0.001763, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 204.1 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 230.2 MB / 257.8 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.252/0.252, allocations: 46.89 MB / 361.1 MB, free: 4.637 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 79.88 kB / 0.4968 GB, free: 8.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.5, allocations: 65.96 MB / 0.5613 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003737/0.5038, allocations: 1.701 MB / 0.5629 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.5055, allocations: 1.021 MB / 0.5639 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.5056, allocations: 3.156 kB / 0.5639 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.506, allocations: 72.12 kB / 0.564 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.5065, allocations: 104 kB / 0.5641 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.5068, allocations: 75.97 kB / 0.5642 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.507, allocations: 109.3 kB / 0.5643 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.5071, allocations: 240 / 0.5643 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.5072, allocations: 49.17 kB / 0.5643 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.5073, allocations: 56.95 kB / 0.5644 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.5074, allocations: 3.062 kB / 0.5644 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.5075, allocations: 33.14 kB / 0.5644 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.5075, allocations: 17.7 kB / 0.5644 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.5076, allocations: 33.78 kB / 0.5644 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.5078, allocations: 106.5 kB / 0.5645 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5078, allocations: 2.875 kB / 0.5646 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5078, allocations: 0 / 0.5646 GB, free: 32.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.5078, allocations: 3.938 kB / 0.5646 GB, free: 32.42 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005376/0.5083, allocations: 420.7 kB / 0.565 GB, free: 32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.5084, allocations: 9.531 kB / 0.565 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.5084, allocations: 14.48 kB / 0.565 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.5088, allocations: 207.3 kB / 0.5652 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.5088, allocations: 2.719 kB / 0.5652 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.5088, allocations: 3.281 kB / 0.5652 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.5089, allocations: 50.27 kB / 0.5652 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5089, allocations: 0 / 0.5652 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5089, allocations: 3.938 kB / 0.5652 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5089, allocations: 1.844 kB / 0.5652 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.509, allocations: 19.91 kB / 0.5653 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.5092, allocations: 186.5 kB / 0.5654 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.5093, allocations: 47.91 kB / 0.5655 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.5094, allocations: 18.98 kB / 0.5655 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5094, allocations: 0 / 0.5655 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.5095, allocations: 76.58 kB / 0.5656 GB, free: 31.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 2.144e-06/0.5095, allocations: 4.734 kB / 0.5656 GB, free: 31.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.000269/0.5098, allocations: 95.16 kB / 0.5657 GB, free: 31.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.5098, allocations: 54 kB / 0.5657 GB, free: 31.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.51, allocations: 196.6 kB / 0.5659 GB, free: 31.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.51, allocations: 25.7 kB / 0.5659 GB, free: 31.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.51, allocations: 108.9 kB / 0.566 GB, free: 31.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.51, allocations: 14.91 kB / 0.566 GB, free: 31.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.5101, allocations: 20.39 kB / 0.5661 GB, free: 31.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.5101, allocations: 321.1 kB / 0.5664 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.5102, allocations: 16.3 kB / 0.5664 GB, free: 30.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.998e-05/0.5102, allocations: 25.94 kB / 0.5664 GB, free: 30.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.534e-05/0.5103, allocations: 51.81 kB / 0.5665 GB, free: 30.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5103, allocations: 3.094 kB / 0.5665 GB, free: 30.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001429/0.5105, allocations: 87.44 kB / 0.5665 GB, free: 30.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5105, allocations: 8.938 kB / 0.5666 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5105, allocations: 0 / 0.5666 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5105, allocations: 0 / 0.5666 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.5106, allocations: 15.31 kB / 0.5666 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5106, allocations: 3 kB / 0.5666 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.5106, allocations: 3.422 kB / 0.5666 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.5106, allocations: 3.312 kB / 0.5666 GB, free: 30.57 MB / 446.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 (7): * Single equations (assignments): 7 * 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 6.96e-05/0.5107, allocations: 126 kB / 0.5667 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.5107, allocations: 17.48 kB / 0.5667 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.5109, allocations: 87.14 kB / 0.5668 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5109, allocations: 3.125 kB / 0.5668 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5109, allocations: 384 / 0.5668 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5109, allocations: 3.047 kB / 0.5668 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.511, allocations: 188.7 kB / 0.567 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.511, allocations: 0 / 0.567 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.5111, allocations: 9.594 kB / 0.567 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.5111, allocations: 6.594 kB / 0.567 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.5111, allocations: 0 / 0.567 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.5111, allocations: 0 / 0.567 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5111, allocations: 0 / 0.567 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.5112, allocations: 113.1 kB / 0.5671 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.5113, allocations: 94.88 kB / 0.5672 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.5113, allocations: 0 / 0.5672 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.5113, allocations: 10.34 kB / 0.5672 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.5114, allocations: 5.969 kB / 0.5672 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.5114, allocations: 3.125 kB / 0.5672 GB, free: 29.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.453e-05/0.5115, allocations: 149 kB / 0.5674 GB, free: 29.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5115, allocations: 3.938 kB / 0.5674 GB, free: 29.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.5117, allocations: 15.45 kB / 0.5674 GB, free: 29.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001489/0.5132, allocations: 416.7 kB / 0.5678 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.5134, allocations: 39.08 kB / 0.5678 GB, free: 29.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5134, allocations: 0 / 0.5678 GB, free: 29.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/0.5134, allocations: 19.05 kB / 0.5678 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.5137, allocations: 28.02 kB / 0.5679 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.5142, allocations: 221.3 kB / 0.5681 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.5144, allocations: 0.7067 MB / 0.5688 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.399e-05/0.5144, allocations: 21.91 kB / 0.5688 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.5145, allocations: 13.56 kB / 0.5688 GB, free: 28.79 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5145, allocations: 0 / 0.5688 GB, free: 28.79 MB / 446.1 MB Notification: Performance of Templates: time 0.004309/0.5188, allocations: 1.517 MB / 0.5703 GB, free: 28.61 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.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.76065798709169]