Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.001744/0.001744, 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.002085/0.002085, allocations: 213.1 kB / 25.13 MB, free: 3.586 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.426/1.426, allocations: 230.4 MB / 258.7 MB, free: 8.039 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.2284/0.2284, allocations: 46.94 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.002313/0.002313, allocations: 87.86 kB / 0.4978 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3048, allocations: 66.07 MB / 0.5623 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003185/0.308, allocations: 1.673 MB / 0.564 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3092, allocations: 0.5771 MB / 0.5645 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.3093, allocations: 0 / 0.5645 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.3096, allocations: 95.73 kB / 0.5646 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.3099, allocations: 115.6 kB / 0.5647 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.3102, allocations: 119.7 kB / 0.5649 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.3104, allocations: 103.7 kB / 0.565 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3105, allocations: 26.64 kB / 0.565 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.95e-05/0.3106, allocations: 43.84 kB / 0.565 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3107, allocations: 63.8 kB / 0.5651 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3107, allocations: 4 kB / 0.5651 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.3109, allocations: 43.98 kB / 0.5651 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.311, allocations: 39.78 kB / 0.5652 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.311, allocations: 43.69 kB / 0.5652 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.3112, allocations: 135.1 kB / 0.5653 GB, free: 1.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3112, allocations: 0 / 0.5653 GB, free: 1.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3112, allocations: 0 / 0.5653 GB, free: 1.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3112, allocations: 0 / 0.5653 GB, free: 1.18 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000517/0.3118, allocations: 365.4 kB / 0.5657 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.3118, allocations: 8.031 kB / 0.5657 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.3118, allocations: 16.84 kB / 0.5657 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3121, allocations: 162.2 kB / 0.5659 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3121, allocations: 4.375 kB / 0.5659 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.3121, allocations: 4.375 kB / 0.5659 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.3123, allocations: 74.23 kB / 0.5659 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3123, allocations: 4.141 kB / 0.566 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.3123, allocations: 11.92 kB / 0.566 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3123, allocations: 0 / 0.566 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.3124, allocations: 47.91 kB / 0.566 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.313, allocations: 311.8 kB / 0.5663 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.3132, allocations: 70.48 kB / 0.5664 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.3133, allocations: 25.08 kB / 0.5664 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3133, allocations: 0 / 0.5664 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3133, allocations: 30.56 kB / 0.5664 GB, free: 15.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.3133, allocations: 0 / 0.5664 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001144/0.3144, allocations: 337.4 kB / 0.5667 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.543e-05/0.3145, allocations: 59.28 kB / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.3148, allocations: 243.5 kB / 0.567 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.3148, allocations: 29.7 kB / 0.5671 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.3149, allocations: 120 kB / 0.5672 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.315, allocations: 39.64 kB / 0.5672 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.315, allocations: 29.7 kB / 0.5672 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.3152, allocations: 326.8 kB / 0.5676 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3153, allocations: 47.91 kB / 0.5676 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.953e-05/0.3154, allocations: 51.47 kB / 0.5677 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.3157, allocations: 104.8 kB / 0.5678 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3157, allocations: 0 / 0.5678 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002941/0.316, allocations: 157.5 kB / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.316, allocations: 10.33 kB / 0.5679 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.316, allocations: 0 / 0.5679 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3161, allocations: 4 kB / 0.5679 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3162, allocations: 27.92 kB / 0.5679 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3162, allocations: 3.938 kB / 0.5679 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.3162, allocations: 8 kB / 0.568 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.3163, allocations: 8 kB / 0.568 GB, free: 14.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001174/0.3164, allocations: 133.8 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.3164, allocations: 19.89 kB / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.3168, allocations: 195.4 kB / 0.5683 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3168, allocations: 0 / 0.5683 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3168, allocations: 3.938 kB / 0.5683 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3168, allocations: 0 / 0.5683 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007182/0.3175, allocations: 478.2 kB / 0.5688 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3175, allocations: 0 / 0.5688 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3177, allocations: 31.98 kB / 0.5688 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3177, allocations: 0 / 0.5688 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3177, allocations: 0 / 0.5688 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.3177, allocations: 7.938 kB / 0.5688 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3177, allocations: 0 / 0.5688 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.318, allocations: 263.3 kB / 0.569 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.3181, allocations: 15.91 kB / 0.5691 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3181, allocations: 0 / 0.5691 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.3182, allocations: 8 kB / 0.5691 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.3182, allocations: 11.97 kB / 0.5691 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3182, allocations: 8 kB / 0.5691 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.3184, allocations: 181.1 kB / 0.5693 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3184, allocations: 0 / 0.5693 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3187, allocations: 31.92 kB / 0.5693 GB, free: 12.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001673/0.3203, allocations: 464.6 kB / 0.5697 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.3206, allocations: 99.94 kB / 0.5698 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3207, allocations: 4 kB / 0.5698 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3208, allocations: 55.91 kB / 0.5699 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.3212, allocations: 27.67 kB / 0.5699 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.3218, allocations: 331.7 kB / 0.5702 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.3223, allocations: 0.7158 MB / 0.5709 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.512e-05/0.3223, allocations: 36.39 kB / 0.571 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.3224, allocations: 19.44 kB / 0.571 GB, free: 11.22 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3224, allocations: 4 kB / 0.571 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Templates: time 0.004858/0.3272, allocations: 1.686 MB / 0.5726 GB, free: 9.535 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.865095530869439]