Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.0018/0.0018, allocations: 113.1 kB / 21.85 MB, free: 64 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.002094/0.002094, allocations: 204.1 kB / 25.13 MB, free: 3.578 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.438/1.438, 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.2243/0.2243, allocations: 46.93 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4") [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.002328/0.002328, allocations: 79.88 kB / 0.4979 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3386, allocations: 66.09 MB / 0.5624 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003499/0.3421, allocations: 1.757 MB / 0.5641 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.344, allocations: 1.06 MB / 0.5652 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.926e-05/0.3441, allocations: 0 / 0.5652 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.3444, allocations: 79.7 kB / 0.5652 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.3448, allocations: 119.5 kB / 0.5653 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.345, allocations: 83.72 kB / 0.5654 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3452, allocations: 123.6 kB / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3453, allocations: 15.95 kB / 0.5656 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3455, allocations: 55.78 kB / 0.5656 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3456, allocations: 63.73 kB / 0.5657 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3456, allocations: 8 kB / 0.5657 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3457, allocations: 55.98 kB / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.3458, allocations: 31.84 kB / 0.5658 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.973e-05/0.3459, allocations: 43.67 kB / 0.5658 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.3461, allocations: 133.9 kB / 0.5659 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3461, allocations: 4 kB / 0.5659 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3461, allocations: 0 / 0.5659 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3461, allocations: 0 / 0.5659 GB, free: 0.6133 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006823/0.3468, allocations: 377.3 kB / 0.5663 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3469, allocations: 8.031 kB / 0.5663 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.3469, allocations: 20.84 kB / 0.5663 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.3473, allocations: 162.2 kB / 0.5665 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3473, allocations: 384 / 0.5665 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.3474, allocations: 8.422 kB / 0.5665 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3476, allocations: 73.91 kB / 0.5666 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3476, allocations: 0 / 0.5666 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3476, allocations: 0 / 0.5666 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3476, allocations: 0 / 0.5666 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.3477, allocations: 19.98 kB / 0.5666 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.3482, allocations: 279.8 kB / 0.5668 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.3484, allocations: 58.55 kB / 0.5669 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.3485, allocations: 24.95 kB / 0.5669 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.3485, allocations: 4 kB / 0.5669 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.3487, allocations: 71.33 kB / 0.567 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3487, allocations: 0 / 0.567 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000872/0.3495, allocations: 249.2 kB / 0.5672 GB, free: 15.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3496, allocations: 55.41 kB / 0.5673 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.3499, allocations: 219.5 kB / 0.5675 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.3499, allocations: 29.69 kB / 0.5675 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.35, allocations: 108.1 kB / 0.5676 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.35, allocations: 31.73 kB / 0.5677 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.3501, allocations: 29.7 kB / 0.5677 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3503, allocations: 330.7 kB / 0.568 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.3503, allocations: 35.98 kB / 0.568 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.3504, allocations: 45.7 kB / 0.5681 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3506, allocations: 77.64 kB / 0.5682 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3506, allocations: 4 kB / 0.5682 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002339/0.3508, allocations: 129.5 kB / 0.5683 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3508, allocations: 4 kB / 0.5683 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3509, allocations: 4.031 kB / 0.5683 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3509, allocations: 4 kB / 0.5683 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.351, allocations: 16 kB / 0.5683 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.351, allocations: 3.984 kB / 0.5683 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.351, allocations: 11.94 kB / 0.5683 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.351, allocations: 4 kB / 0.5683 GB, free: 13.96 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 (13): * Single equations (assignments): 13 * 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.0001348/0.3512, allocations: 129.8 kB / 0.5685 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.3512, allocations: 11.91 kB / 0.5685 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.3515, allocations: 155.6 kB / 0.5686 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3515, allocations: 0 / 0.5686 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3515, allocations: 0 / 0.5686 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3515, allocations: 7.922 kB / 0.5686 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.3521, allocations: 423.2 kB / 0.569 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3521, allocations: 0 / 0.569 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.3521, allocations: 15.98 kB / 0.569 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3521, allocations: 3.938 kB / 0.569 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3522, allocations: 12.06 kB / 0.5691 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3522, allocations: 0 / 0.5691 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3522, allocations: 4 kB / 0.5691 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.3525, allocations: 225.4 kB / 0.5693 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.3525, allocations: 19.83 kB / 0.5693 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.3525, allocations: 15.94 kB / 0.5693 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.3526, allocations: 4 kB / 0.5693 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.3526, allocations: 7.984 kB / 0.5693 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.3526, allocations: 8 kB / 0.5693 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.3528, allocations: 169.1 kB / 0.5695 GB, free: 12.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3528, allocations: 0 / 0.5695 GB, free: 12.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000274/0.3531, allocations: 32.03 kB / 0.5695 GB, free: 12.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001903/0.355, allocations: 0.513 MB / 0.57 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.3552, allocations: 79.84 kB / 0.5701 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3552, allocations: 0 / 0.5701 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.74e-05/0.3553, allocations: 35.92 kB / 0.5701 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3557, allocations: 35.67 kB / 0.5702 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.3563, allocations: 268.8 kB / 0.5704 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.3567, allocations: 0.7158 MB / 0.5711 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.105e-05/0.3567, allocations: 20.62 kB / 0.5711 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.3568, allocations: 19.61 kB / 0.5712 GB, free: 11.08 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3568, allocations: 4 kB / 0.5712 GB, free: 11.08 MB / 414.1 MB Notification: Performance of Templates: time 0.005829/0.3626, allocations: 2.066 MB / 0.5732 GB, free: 9.031 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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: 4.958306376123801]