Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.603/1.603, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 46.96 MB / 361.6 MB, free: 4.023 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.91 kB / 0.4974 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3799, allocations: 66.04 MB / 0.5619 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003509/0.3834, allocations: 1.874 MB / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3855, allocations: 1.084 MB / 0.5648 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.3856, allocations: 4 kB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.386, allocations: 163.5 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.3865, allocations: 179.3 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.3868, allocations: 115.6 kB / 0.5652 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.3871, allocations: 251.3 kB / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.3872, allocations: 25.94 kB / 0.5655 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.3874, allocations: 107.5 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.3876, allocations: 151.5 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.3876, allocations: 8 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.3878, allocations: 63.98 kB / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.3879, allocations: 55.7 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.127e-05/0.388, allocations: 59.62 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.3883, allocations: 237.2 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3883, allocations: 3.938 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3883, allocations: 0 / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3883, allocations: 0 / 0.5661 GB, free: 15.75 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.0008079/0.3891, allocations: 480.5 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3892, allocations: 12.03 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.3893, allocations: 28.75 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.3897, allocations: 214.5 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3897, allocations: 8.375 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.3897, allocations: 12.12 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.39, allocations: 107.3 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.39, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.39, allocations: 8 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.39, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.3902, allocations: 55.89 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.3908, allocations: 404.5 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.3912, allocations: 121.2 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3913, allocations: 45.81 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.3913, allocations: 0 / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.3916, allocations: 129 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.3916, allocations: 0 / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001391/0.393, allocations: 0.5054 MB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.3931, allocations: 85.09 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.3935, allocations: 384.5 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.3935, allocations: 29.7 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3936, allocations: 148.5 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.803e-05/0.3937, allocations: 75.38 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.3938, allocations: 41.7 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.394, allocations: 342.8 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.3941, allocations: 59.97 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.3943, allocations: 99.33 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.3946, allocations: 155.6 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3946, allocations: 3.938 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004199/0.395, allocations: 241.3 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.395, allocations: 4.062 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.395, allocations: 7.938 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.395, allocations: 4 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.3952, allocations: 43.91 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3952, allocations: 4 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.3953, allocations: 8 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.3953, allocations: 8 kB / 0.5699 GB, free: 11.71 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.0001703/0.3955, allocations: 158.3 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.3955, allocations: 31.8 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005711/0.3961, allocations: 287.5 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3961, allocations: 4 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3961, allocations: 0 / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3961, allocations: 0 / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009937/0.3971, allocations: 0.6683 MB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3971, allocations: 0 / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/0.3972, allocations: 35.92 kB / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3972, allocations: 0 / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.3972, allocations: 12.31 kB / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3972, allocations: 4 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3972, allocations: 3.938 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.3978, allocations: 447.3 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.3978, allocations: 23.84 kB / 0.5715 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.3979, allocations: 12 kB / 0.5715 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.398, allocations: 4 kB / 0.5715 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.3981, allocations: 31.84 kB / 0.5715 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.3981, allocations: 15.98 kB / 0.5715 GB, free: 9.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002802/0.3984, allocations: 283 kB / 0.5718 GB, free: 9.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3984, allocations: 0 / 0.5718 GB, free: 9.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.3988, allocations: 59.88 kB / 0.5719 GB, free: 9.562 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 (24): * Single equations (assignments): 20 * 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.002341/0.4011, allocations: 0.544 MB / 0.5724 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004723/0.4016, allocations: 159.7 kB / 0.5725 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.4016, allocations: 4 kB / 0.5725 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.4018, allocations: 76.09 kB / 0.5726 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.4024, allocations: 79.16 kB / 0.5727 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.4035, allocations: 0.5042 MB / 0.5732 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.4037, allocations: 157.6 kB / 0.5733 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.4038, allocations: 41.92 kB / 0.5734 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.4039, allocations: 31.42 kB / 0.5734 GB, free: 8.156 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4039, allocations: 3.938 kB / 0.5734 GB, free: 8.152 MB / 414.1 MB Notification: Performance of Templates: time 0.009581/0.4135, allocations: 3.538 MB / 0.5769 GB, free: 4.664 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.479165723998449]