Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.001435/0.001435, allocations: 113.1 kB / 21.85 MB, free: 72 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.001812/0.001812, allocations: 212.5 kB / 25.13 MB, free: 3.605 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.503/1.503, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2462/0.2462, allocations: 46.94 MB / 362.1 MB, free: 4.293 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79") [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.002318/0.002318, allocations: 84.14 kB / 0.4979 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3299, allocations: 66.07 MB / 0.5624 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003147/0.3331, allocations: 1.928 MB / 0.5643 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.335, allocations: 1.157 MB / 0.5654 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.3351, allocations: 7.938 kB / 0.5654 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.3355, allocations: 223.3 kB / 0.5656 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.3359, allocations: 219.2 kB / 0.5658 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.3362, allocations: 123.5 kB / 0.566 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.3365, allocations: 259.3 kB / 0.5662 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3366, allocations: 20.77 kB / 0.5662 GB, free: 316 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.3368, allocations: 139.4 kB / 0.5664 GB, free: 176 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.337, allocations: 167.5 kB / 0.5665 GB, free: 8 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.3371, allocations: 8 kB / 0.5665 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.3372, allocations: 64.03 kB / 0.5666 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.709e-05/0.3373, allocations: 67.64 kB / 0.5667 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3374, allocations: 83.3 kB / 0.5667 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.3378, allocations: 254.4 kB / 0.567 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3378, allocations: 0 / 0.567 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3378, allocations: 0 / 0.567 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3378, allocations: 0 / 0.567 GB, free: 15.54 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007696/0.3385, allocations: 0.5042 MB / 0.5675 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3386, allocations: 8.031 kB / 0.5675 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.3386, allocations: 32.75 kB / 0.5675 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.339, allocations: 234.4 kB / 0.5677 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.339, allocations: 4.375 kB / 0.5677 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.3391, allocations: 8.375 kB / 0.5677 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.3393, allocations: 111.7 kB / 0.5678 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3393, allocations: 4 kB / 0.5679 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3393, allocations: 4 kB / 0.5679 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3393, allocations: 0 / 0.5679 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.3395, allocations: 51.89 kB / 0.5679 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.3401, allocations: 451.8 kB / 0.5683 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.3405, allocations: 117.2 kB / 0.5684 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/0.3406, allocations: 37.83 kB / 0.5685 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.3406, allocations: 7.984 kB / 0.5685 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.3408, allocations: 117 kB / 0.5686 GB, free: 13.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.3408, allocations: 4 kB / 0.5686 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001345/0.3422, allocations: 0.5093 MB / 0.5691 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.3423, allocations: 85.03 kB / 0.5692 GB, free: 13.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.3427, allocations: 452.5 kB / 0.5696 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.3428, allocations: 33.7 kB / 0.5696 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.3429, allocations: 156.5 kB / 0.5698 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.343, allocations: 71.42 kB / 0.5699 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.343, allocations: 41.7 kB / 0.5699 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3432, allocations: 346.8 kB / 0.5702 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.3433, allocations: 55.97 kB / 0.5703 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.3435, allocations: 100.2 kB / 0.5704 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.3438, allocations: 159.3 kB / 0.5705 GB, free: 11.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3438, allocations: 0 / 0.5705 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004111/0.3442, allocations: 233.6 kB / 0.5708 GB, free: 11.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3442, allocations: 12.06 kB / 0.5708 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3442, allocations: 0 / 0.5708 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3442, allocations: 7.938 kB / 0.5708 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.3443, allocations: 39.92 kB / 0.5708 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3444, allocations: 4 kB / 0.5708 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.235e-05/0.3444, allocations: 15.94 kB / 0.5708 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.3445, allocations: 8 kB / 0.5708 GB, free: 11.33 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001712/0.3446, allocations: 169.7 kB / 0.571 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.3447, allocations: 35.75 kB / 0.571 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005158/0.3452, allocations: 276.5 kB / 0.5713 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3452, allocations: 4 kB / 0.5713 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3452, allocations: 0 / 0.5713 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3452, allocations: 0 / 0.5713 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009655/0.3462, allocations: 0.7106 MB / 0.572 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3462, allocations: 4 kB / 0.572 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-05/0.3463, allocations: 31.98 kB / 0.572 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3463, allocations: 0 / 0.572 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.3463, allocations: 8 kB / 0.572 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.3463, allocations: 7.938 kB / 0.5721 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3463, allocations: 0 / 0.5721 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.3468, allocations: 437.4 kB / 0.5725 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.3469, allocations: 27.77 kB / 0.5725 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.3469, allocations: 11.94 kB / 0.5725 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.347, allocations: 11.98 kB / 0.5725 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.3471, allocations: 27.84 kB / 0.5725 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.3471, allocations: 12 kB / 0.5726 GB, free: 9.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003524/0.3475, allocations: 331 kB / 0.5729 GB, free: 9.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3475, allocations: 0 / 0.5729 GB, free: 9.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.3478, allocations: 51.92 kB / 0.5729 GB, free: 9.094 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001946/0.3498, allocations: 0.4989 MB / 0.5734 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.3502, allocations: 155.8 kB / 0.5736 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3502, allocations: 0 / 0.5736 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.3503, allocations: 71.84 kB / 0.5736 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.3509, allocations: 73.5 kB / 0.5737 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.3518, allocations: 0.5591 MB / 0.5742 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.3522, allocations: 0.7714 MB / 0.575 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.3523, allocations: 33.94 kB / 0.575 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.3524, allocations: 35.42 kB / 0.5751 GB, free: 7.012 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3524, allocations: 0 / 0.5751 GB, free: 7.012 MB / 414.1 MB Notification: Performance of Templates: time 0.007542/0.36, allocations: 3.284 MB / 0.5783 GB, free: 3.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.270130192860961]