Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001495/0.001495, allocations: 109.1 kB / 21.84 MB, free: 88 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.001553/0.001553, allocations: 218 kB / 25.13 MB, free: 3.609 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.413/1.413, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2166/0.2166, allocations: 46.93 MB / 362 MB, free: 4.254 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.Test18,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",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18") [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.002432/0.002432, allocations: 79.86 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3159, allocations: 66.08 MB / 0.5623 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003057/0.319, allocations: 1.632 MB / 0.5639 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.321, allocations: 1.274 MB / 0.5652 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.321, allocations: 0 / 0.5652 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.3213, allocations: 27.8 kB / 0.5652 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.3216, allocations: 87.61 kB / 0.5653 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.3219, allocations: 115.7 kB / 0.5654 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3221, allocations: 79.77 kB / 0.5655 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3222, allocations: 19.62 kB / 0.5655 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.931e-05/0.3223, allocations: 35.86 kB / 0.5655 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3224, allocations: 35.84 kB / 0.5656 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3224, allocations: 8 kB / 0.5656 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.3226, allocations: 91.89 kB / 0.5657 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.3226, allocations: 27.84 kB / 0.5657 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.3227, allocations: 23.81 kB / 0.5657 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.3229, allocations: 158.3 kB / 0.5659 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.323, allocations: 4 kB / 0.5659 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.323, allocations: 0 / 0.5659 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.323, allocations: 0 / 0.5659 GB, free: 0.6797 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000511/0.3235, allocations: 337.6 kB / 0.5662 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.3235, allocations: 8.031 kB / 0.5662 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.3235, allocations: 12.88 kB / 0.5662 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3238, allocations: 136.6 kB / 0.5663 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3238, allocations: 8.359 kB / 0.5663 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3238, allocations: 4.375 kB / 0.5664 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.324, allocations: 105.6 kB / 0.5665 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.324, allocations: 4.141 kB / 0.5665 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.324, allocations: 15.92 kB / 0.5665 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.324, allocations: 4 kB / 0.5665 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3241, allocations: 31.92 kB / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.3246, allocations: 287.8 kB / 0.5668 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3247, allocations: 54.56 kB / 0.5668 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/0.3248, allocations: 20.97 kB / 0.5669 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3248, allocations: 4 kB / 0.5669 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3248, allocations: 34.56 kB / 0.5669 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3248, allocations: 0 / 0.5669 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006528/0.3255, allocations: 197.4 kB / 0.5671 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.3256, allocations: 77.11 kB / 0.5672 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3257, allocations: 157.6 kB / 0.5673 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.3258, allocations: 29.7 kB / 0.5673 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.3258, allocations: 92.14 kB / 0.5674 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3258, allocations: 31.73 kB / 0.5674 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.3259, allocations: 21.72 kB / 0.5675 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.326, allocations: 322.8 kB / 0.5678 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.3261, allocations: 27.92 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3262, allocations: 79.38 kB / 0.5679 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.3264, allocations: 72.81 kB / 0.568 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3264, allocations: 0 / 0.568 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002276/0.3266, allocations: 109.5 kB / 0.5681 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3266, allocations: 4 kB / 0.5681 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3266, allocations: 0 / 0.5681 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3266, allocations: 4.031 kB / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3267, allocations: 23.92 kB / 0.5681 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.3268, allocations: 0 / 0.5681 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.3268, allocations: 8 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3268, allocations: 7.922 kB / 0.5681 GB, free: 14.18 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 (8): * Single equations (assignments): 8 * 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 9.455e-05/0.3269, allocations: 117.8 kB / 0.5682 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.3269, allocations: 11.91 kB / 0.5682 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.3272, allocations: 130.6 kB / 0.5683 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3272, allocations: 0 / 0.5683 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3272, allocations: 7.938 kB / 0.5684 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3273, allocations: 0 / 0.5684 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.3278, allocations: 377.5 kB / 0.5687 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3278, allocations: 0 / 0.5687 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.03e-05/0.3278, allocations: 19.98 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3278, allocations: 3.938 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3279, allocations: 7.938 kB / 0.5687 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3279, allocations: 0 / 0.5687 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3279, allocations: 384 / 0.5687 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.3281, allocations: 203.5 kB / 0.5689 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.3281, allocations: 11.94 kB / 0.569 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3282, allocations: 3.938 kB / 0.569 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/0.3282, allocations: 16 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3283, allocations: 7.984 kB / 0.569 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3283, allocations: 0 / 0.569 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3284, allocations: 121.8 kB / 0.5691 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3284, allocations: 0 / 0.5691 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00029/0.3287, allocations: 47.86 kB / 0.5691 GB, free: 13.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.001678/0.3304, allocations: 490.5 kB / 0.5696 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.3306, allocations: 71.94 kB / 0.5697 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3306, allocations: 4 kB / 0.5697 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.717e-05/0.3307, allocations: 39.91 kB / 0.5697 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3311, allocations: 23.06 kB / 0.5697 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.3315, allocations: 202 kB / 0.5699 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3319, allocations: 0.6963 MB / 0.5706 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.544e-05/0.3319, allocations: 24.95 kB / 0.5706 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.332, allocations: 23.42 kB / 0.5707 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.332, allocations: 0 / 0.5707 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Templates: time 0.005012/0.337, allocations: 1.899 MB / 0.5725 GB, free: 9.676 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.8613695909734815]