Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.001524/0.001524, allocations: 113.1 kB / 21.85 MB, free: 80 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.001438/0.001438, 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.516/1.516, allocations: 230.4 MB / 258.7 MB, free: 8.027 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.2454/0.2454, allocations: 46.93 MB / 362 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [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.00228/0.00228, allocations: 79.86 kB / 0.4979 GB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3632, allocations: 66.08 MB / 0.5624 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004395/0.3676, allocations: 1.939 MB / 0.5643 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.3701, allocations: 1.154 MB / 0.5654 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.3703, allocations: 7.938 kB / 0.5654 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000674/0.3709, allocations: 255.3 kB / 0.5657 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.3715, allocations: 231.2 kB / 0.5659 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.3718, allocations: 111.7 kB / 0.566 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.3722, allocations: 283.2 kB / 0.5663 GB, free: 264 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3723, allocations: 24.77 kB / 0.5663 GB, free: 240 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.3725, allocations: 143.5 kB / 0.5664 GB, free: 96 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.3728, allocations: 203.4 kB / 0.5666 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.3728, allocations: 8 kB / 0.5666 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.373, allocations: 67.95 kB / 0.5667 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.3731, allocations: 67.7 kB / 0.5668 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.3732, allocations: 103.2 kB / 0.5669 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.3737, allocations: 258.5 kB / 0.5671 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3737, allocations: 0 / 0.5671 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.3737, allocations: 0 / 0.5671 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3737, allocations: 0 / 0.5671 GB, free: 15.4 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.0009209/0.3746, allocations: 0.5234 MB / 0.5676 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.3746, allocations: 8.031 kB / 0.5676 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.436e-05/0.3747, allocations: 32.75 kB / 0.5677 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.3753, allocations: 236.8 kB / 0.5679 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3753, allocations: 12.38 kB / 0.5679 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.3753, allocations: 12.38 kB / 0.5679 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.3756, allocations: 114.8 kB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3756, allocations: 0 / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.3756, allocations: 4 kB / 0.568 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3757, allocations: 0 / 0.568 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.3758, allocations: 43.97 kB / 0.5681 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.3765, allocations: 463.8 kB / 0.5685 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.3769, allocations: 113.2 kB / 0.5686 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.377, allocations: 45.81 kB / 0.5687 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.377, allocations: 4 kB / 0.5687 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.3773, allocations: 121 kB / 0.5688 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.3773, allocations: 0 / 0.5688 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001451/0.3787, allocations: 0.5203 MB / 0.5693 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.3788, allocations: 77.11 kB / 0.5694 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006478/0.3794, allocations: 0.4937 MB / 0.5698 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.3795, allocations: 33.7 kB / 0.5699 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.3796, allocations: 164.5 kB / 0.57 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/0.3797, allocations: 75.41 kB / 0.5701 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.3798, allocations: 41.7 kB / 0.5701 GB, free: 12.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.38, allocations: 354.8 kB / 0.5705 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3801, allocations: 59.92 kB / 0.5705 GB, free: 11.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.3803, allocations: 96.2 kB / 0.5706 GB, free: 11.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.3806, allocations: 167.3 kB / 0.5708 GB, free: 11.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3806, allocations: 0 / 0.5708 GB, free: 11.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004363/0.381, allocations: 241.2 kB / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.381, allocations: 4 kB / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.381, allocations: 4 kB / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3811, allocations: 3.938 kB / 0.571 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.3812, allocations: 43.92 kB / 0.5711 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3812, allocations: 0 / 0.5711 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-05/0.3813, allocations: 16.05 kB / 0.5711 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.3813, allocations: 12 kB / 0.5711 GB, free: 11.06 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.0001745/0.3815, allocations: 169.8 kB / 0.5713 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.3816, allocations: 35.77 kB / 0.5713 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005634/0.3821, allocations: 281.4 kB / 0.5716 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3821, allocations: 4 kB / 0.5716 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3821, allocations: 0 / 0.5716 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3821, allocations: 0 / 0.5716 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3832, allocations: 0.7185 MB / 0.5723 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3832, allocations: 0 / 0.5723 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.865e-05/0.3833, allocations: 31.92 kB / 0.5723 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.3833, allocations: 4 kB / 0.5723 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.3833, allocations: 8.125 kB / 0.5723 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3833, allocations: 4 kB / 0.5723 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3833, allocations: 4 kB / 0.5723 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.3838, allocations: 437.8 kB / 0.5727 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.3839, allocations: 32 kB / 0.5728 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.3839, allocations: 8 kB / 0.5728 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3841, allocations: 15.92 kB / 0.5728 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.3842, allocations: 19.91 kB / 0.5728 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.3842, allocations: 12 kB / 0.5728 GB, free: 9.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003996/0.3846, allocations: 375.1 kB / 0.5732 GB, free: 8.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3846, allocations: 4 kB / 0.5732 GB, free: 8.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003696/0.385, allocations: 51.92 kB / 0.5732 GB, free: 8.773 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.001977/0.3869, allocations: 0.5022 MB / 0.5737 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.3873, allocations: 147.8 kB / 0.5739 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3873, allocations: 0 / 0.5739 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.3875, allocations: 80.16 kB / 0.5739 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.3881, allocations: 65 kB / 0.574 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3891, allocations: 0.6016 MB / 0.5746 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.3895, allocations: 0.7792 MB / 0.5753 GB, free: 6.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.3896, allocations: 45.91 kB / 0.5754 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.3897, allocations: 27.42 kB / 0.5754 GB, free: 6.648 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3897, allocations: 4 kB / 0.5754 GB, free: 6.645 MB / 414.1 MB Notification: Performance of Templates: time 0.007765/0.3975, allocations: 3.299 MB / 0.5786 GB, free: 3.367 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.259436171036214]