Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.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.005223/0.005223, allocations: 105.9 kB / 21.98 MB, free: 5.223 MB / 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.001445/0.001445, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.409/1.409, allocations: 230.5 MB / 258.9 MB, free: 8.023 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.222/0.222, allocations: 46.93 MB / 362.3 MB, free: 4.199 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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12") [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.002444/0.002444, allocations: 83.84 kB / 0.4982 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3125, allocations: 66.07 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003065/0.3156, allocations: 1.627 MB / 0.5643 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3166, allocations: 0.5459 MB / 0.5649 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.3167, allocations: 0 / 0.5649 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.3169, allocations: 31.86 kB / 0.5649 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.3172, allocations: 75.61 kB / 0.565 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.3175, allocations: 91.7 kB / 0.5651 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.3176, allocations: 71.81 kB / 0.5651 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.392e-05/0.3177, allocations: 11.94 kB / 0.5651 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.3178, allocations: 23.86 kB / 0.5652 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.882e-05/0.3178, allocations: 23.86 kB / 0.5652 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3179, allocations: 0 / 0.5652 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.003e-05/0.3179, allocations: 35.98 kB / 0.5652 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.318, allocations: 19.92 kB / 0.5652 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.318, allocations: 23.81 kB / 0.5653 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.3182, allocations: 93.91 kB / 0.5653 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3182, allocations: 0 / 0.5653 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3182, allocations: 4 kB / 0.5654 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3182, allocations: 0 / 0.5654 GB, free: 1.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004844/0.3187, allocations: 317.8 kB / 0.5657 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3187, allocations: 8.031 kB / 0.5657 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.3188, allocations: 12.84 kB / 0.5657 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.319, allocations: 138.9 kB / 0.5658 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.319, allocations: 384 / 0.5658 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.319, allocations: 384 / 0.5658 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3191, allocations: 53.8 kB / 0.5659 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3191, allocations: 3.938 kB / 0.5659 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3192, allocations: 4 kB / 0.5659 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3192, allocations: 0 / 0.5659 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.3192, allocations: 19.98 kB / 0.5659 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.3196, allocations: 256 kB / 0.5661 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.3198, allocations: 42.5 kB / 0.5662 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.3199, allocations: 16.94 kB / 0.5662 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3199, allocations: 0 / 0.5662 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3199, allocations: 38.5 kB / 0.5662 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3199, allocations: 4 kB / 0.5662 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005428/0.3205, allocations: 145.4 kB / 0.5664 GB, free: 408 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3205, allocations: 51.41 kB / 0.5664 GB, free: 344 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.3207, allocations: 170.5 kB / 0.5666 GB, free: 156 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3207, allocations: 29.7 kB / 0.5666 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.3208, allocations: 100.1 kB / 0.5667 GB, free: 16 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.3208, allocations: 19.92 kB / 0.5667 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.3209, allocations: 13.72 kB / 0.5667 GB, free: 15.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.321, allocations: 326.8 kB / 0.567 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.594e-05/0.3211, allocations: 15.98 kB / 0.5671 GB, free: 15.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.3212, allocations: 19.98 kB / 0.5671 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.3213, allocations: 49.02 kB / 0.5671 GB, free: 15.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3213, allocations: 4 kB / 0.5671 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000183/0.3215, allocations: 89.52 kB / 0.5672 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3215, allocations: 4 kB / 0.5672 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3215, allocations: 3.938 kB / 0.5672 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3215, allocations: 4 kB / 0.5672 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.3216, allocations: 11.98 kB / 0.5672 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3216, allocations: 0 / 0.5672 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.3216, allocations: 7.984 kB / 0.5672 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.3216, allocations: 4 kB / 0.5672 GB, free: 15.43 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 (5): * Single equations (assignments): 5 * 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.0001015/0.3217, allocations: 121.8 kB / 0.5674 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.3218, allocations: 7.953 kB / 0.5674 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.322, allocations: 94 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.322, allocations: 3.984 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.322, allocations: 0 / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.322, allocations: 0 / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3224, allocations: 321.6 kB / 0.5678 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3224, allocations: 288 / 0.5678 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.3225, allocations: 19.92 kB / 0.5678 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3225, allocations: 0 / 0.5678 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.3225, allocations: 0 / 0.5678 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3225, allocations: 3.938 kB / 0.5678 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3225, allocations: 3.984 kB / 0.5678 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.3227, allocations: 187.6 kB / 0.568 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.3227, allocations: 11.91 kB / 0.568 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3228, allocations: 8.062 kB / 0.568 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.3228, allocations: 7.938 kB / 0.568 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.3229, allocations: 3.984 kB / 0.568 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3229, allocations: 4 kB / 0.568 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.323, allocations: 135.9 kB / 0.5681 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.323, allocations: 4 kB / 0.5681 GB, free: 14.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.3232, allocations: 19.92 kB / 0.5682 GB, free: 14.4 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 (5): * Single equations (assignments): 5 * 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.001457/0.3247, allocations: 398.8 kB / 0.5685 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.3249, allocations: 43.97 kB / 0.5686 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3249, allocations: 0 / 0.5686 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.572e-05/0.3249, allocations: 23.98 kB / 0.5686 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3253, allocations: 20.17 kB / 0.5686 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.3258, allocations: 227.6 kB / 0.5688 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3261, allocations: 0.704 MB / 0.5695 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.3261, allocations: 15.44 kB / 0.5695 GB, free: 13.06 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3261, allocations: 0 / 0.5695 GB, free: 13.06 MB / 414.1 MB Notification: Performance of Templates: time 0.003473/0.3296, allocations: 1.469 MB / 0.571 GB, free: 11.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.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: 7.54507916001603]