Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001337/0.001337, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00143/0.00143, allocations: 209 kB / 24.48 MB, free: 3.938 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.483/1.483, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.244/0.244, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 63.91 kB / 0.4974 GB, free: 7.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3726, allocations: 66.04 MB / 0.5619 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.0036/0.3762, allocations: 1.866 MB / 0.5637 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.3782, allocations: 1.077 MB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.3783, allocations: 0 / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.3787, allocations: 167.5 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.3792, allocations: 183.3 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.3795, allocations: 115.6 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.3798, allocations: 251.3 kB / 0.5655 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3799, allocations: 17.95 kB / 0.5655 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.3801, allocations: 115.5 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.3803, allocations: 143.5 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.3803, allocations: 8 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3804, allocations: 59.98 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.456e-05/0.3805, allocations: 63.69 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.767e-05/0.3806, allocations: 59.55 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.381, allocations: 225.4 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.381, allocations: 3.938 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.381, allocations: 7.938 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.381, allocations: 4 kB / 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.000773/0.3817, allocations: 476.6 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3818, allocations: 12.03 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.3818, allocations: 28.75 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.3822, allocations: 206.6 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3822, allocations: 12.3 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.3823, allocations: 12.12 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.3825, allocations: 115.3 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3825, allocations: 4 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3825, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3825, allocations: 4 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.3827, allocations: 51.89 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.3833, allocations: 400.4 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.3837, allocations: 121.2 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3838, allocations: 45.77 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.3838, allocations: 8 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.384, allocations: 133 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.384, allocations: 0 / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001355/0.3854, allocations: 0.5015 MB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.3855, allocations: 85.11 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.3859, allocations: 384.5 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.3859, allocations: 29.7 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3861, allocations: 152.5 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.3861, allocations: 71.39 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/0.3862, allocations: 45.7 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.3864, allocations: 342.8 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3866, allocations: 63.91 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.3868, allocations: 91.34 kB / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.3871, allocations: 163.5 kB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3871, allocations: 0 / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004294/0.3876, allocations: 241.3 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3876, allocations: 4 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3876, allocations: 7.938 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.3876, allocations: 0 / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3877, allocations: 47.92 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3878, allocations: 0 / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.3878, allocations: 11.98 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.3879, allocations: 8 kB / 0.5698 GB, free: 11.7 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.0001697/0.388, allocations: 158.4 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.3881, allocations: 35.8 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.3887, allocations: 279.5 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3887, allocations: 4 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3887, allocations: 0 / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.3887, allocations: 3.984 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009981/0.3897, allocations: 0.6606 MB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.3897, allocations: 8.219 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.827e-05/0.3898, allocations: 39.8 kB / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.3898, allocations: 4 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.3898, allocations: 11.98 kB / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3898, allocations: 0 / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3898, allocations: 4 kB / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/0.3904, allocations: 447.3 kB / 0.5714 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.3905, allocations: 23.86 kB / 0.5715 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.3905, allocations: 7.984 kB / 0.5715 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3907, allocations: 12 kB / 0.5715 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.3907, allocations: 27.84 kB / 0.5715 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.3908, allocations: 8 kB / 0.5715 GB, free: 9.895 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003287/0.3911, allocations: 291 kB / 0.5718 GB, free: 9.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3911, allocations: 0 / 0.5718 GB, free: 9.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003605/0.3914, allocations: 51.89 kB / 0.5718 GB, free: 9.559 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.002181/0.3936, allocations: 0.5489 MB / 0.5724 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.394, allocations: 163.8 kB / 0.5725 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.394, allocations: 3.938 kB / 0.5725 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.3942, allocations: 79.89 kB / 0.5726 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.3948, allocations: 60.05 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.0009632/0.3957, allocations: 0.5409 MB / 0.5732 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.3959, allocations: 165.8 kB / 0.5734 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.396, allocations: 31.44 kB / 0.5734 GB, free: 8.148 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.396, allocations: 0 / 0.5734 GB, free: 8.148 MB / 414.1 MB Notification: Performance of Templates: time 0.006729/0.4027, allocations: 3.703 MB / 0.577 GB, free: 4.457 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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: 8.18374375300482]