Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.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.001421/0.001421, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001482/0.001482, allocations: 219.7 kB / 25.13 MB, free: 3.609 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.469/1.469, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2318/0.2318, allocations: 46.94 MB / 362 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49") [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.002421/0.002421, allocations: 79.86 kB / 0.4979 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3854, allocations: 66.08 MB / 0.5624 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003681/0.3891, allocations: 1.733 MB / 0.5641 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3911, allocations: 1.053 MB / 0.5651 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.3912, allocations: 0 / 0.5651 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.3915, allocations: 59.75 kB / 0.5652 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.3919, allocations: 103.5 kB / 0.5653 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.3921, allocations: 75.73 kB / 0.5653 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.3923, allocations: 111.6 kB / 0.5654 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3924, allocations: 8 kB / 0.5655 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3925, allocations: 43.8 kB / 0.5655 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.3926, allocations: 35.83 kB / 0.5655 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.3926, allocations: 4 kB / 0.5655 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.817e-05/0.3927, allocations: 39.98 kB / 0.5656 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.3928, allocations: 31.8 kB / 0.5656 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.3929, allocations: 43.67 kB / 0.5656 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.3931, allocations: 142 kB / 0.5658 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3931, allocations: 0 / 0.5658 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3931, allocations: 0 / 0.5658 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.3931, allocations: 4 kB / 0.5658 GB, free: 0.7344 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.0006609/0.3938, allocations: 381.2 kB / 0.5661 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3938, allocations: 8.031 kB / 0.5662 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.3939, allocations: 20.84 kB / 0.5662 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.3943, allocations: 163.2 kB / 0.5663 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3943, allocations: 4.359 kB / 0.5663 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.3943, allocations: 4.375 kB / 0.5663 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3945, allocations: 57.98 kB / 0.5664 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3945, allocations: 7.984 kB / 0.5664 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3945, allocations: 0 / 0.5664 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3945, allocations: 0 / 0.5664 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.3946, allocations: 19.98 kB / 0.5664 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.3951, allocations: 271.8 kB / 0.5667 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3953, allocations: 58.67 kB / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.3953, allocations: 20.86 kB / 0.5668 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3953, allocations: 3.984 kB / 0.5668 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.3955, allocations: 67.39 kB / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3955, allocations: 0 / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005792/0.3961, allocations: 185.2 kB / 0.567 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3961, allocations: 55.39 kB / 0.5671 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.3964, allocations: 278.7 kB / 0.5673 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.3965, allocations: 29.7 kB / 0.5673 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.3966, allocations: 116.1 kB / 0.5675 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.3966, allocations: 23.8 kB / 0.5675 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.3966, allocations: 25.7 kB / 0.5675 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3968, allocations: 330.8 kB / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.108e-05/0.3969, allocations: 23.98 kB / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.3969, allocations: 37.7 kB / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.397, allocations: 57.66 kB / 0.5679 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.397, allocations: 3.984 kB / 0.5679 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002048/0.3972, allocations: 109.5 kB / 0.568 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3973, allocations: 4 kB / 0.568 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3973, allocations: 0 / 0.568 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.3973, allocations: 4 kB / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.3974, allocations: 23.95 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3974, allocations: 0 / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.3974, allocations: 4.375 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3975, allocations: 0 / 0.5681 GB, free: 14.18 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.0001237/0.3976, allocations: 137.8 kB / 0.5682 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.3976, allocations: 15.91 kB / 0.5682 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3979, allocations: 127.1 kB / 0.5683 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3979, allocations: 0 / 0.5683 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3979, allocations: 8 kB / 0.5684 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3979, allocations: 0 / 0.5684 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.3984, allocations: 382.3 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3984, allocations: 0 / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.3985, allocations: 11.98 kB / 0.5687 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3985, allocations: 0 / 0.5687 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3985, allocations: 8 kB / 0.5687 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3985, allocations: 3.938 kB / 0.5687 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3985, allocations: 0 / 0.5687 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.3987, allocations: 208.3 kB / 0.5689 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.3988, allocations: 11.91 kB / 0.569 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.3988, allocations: 4 kB / 0.569 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.3989, allocations: 8.109 kB / 0.569 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.3989, allocations: 11.94 kB / 0.569 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.3989, allocations: 11.92 kB / 0.569 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.3991, allocations: 200.6 kB / 0.5692 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3991, allocations: 0 / 0.5692 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3994, allocations: 31.92 kB / 0.5692 GB, free: 12.93 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 (8): * Single equations (assignments): 6 * 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.001699/0.4011, allocations: 455.8 kB / 0.5696 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.4013, allocations: 55.86 kB / 0.5697 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4013, allocations: 0 / 0.5697 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.4014, allocations: 23.98 kB / 0.5697 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.4017, allocations: 38.09 kB / 0.5698 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.4023, allocations: 303.6 kB / 0.57 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.4027, allocations: 0.7197 MB / 0.5707 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.673e-05/0.4027, allocations: 12.97 kB / 0.5708 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.4028, allocations: 15.44 kB / 0.5708 GB, free: 11.43 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4028, allocations: 0 / 0.5708 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Templates: time 0.005166/0.4079, allocations: 1.813 MB / 0.5725 GB, free: 9.633 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.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.082118964055553]