Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.006219/0.006219, allocations: 111.2 kB / 21.98 MB, free: 5.184 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.001718/0.001718, allocations: 220.3 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.408/1.408, allocations: 230.5 MB / 258.9 MB, free: 7.98 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.225/0.225, allocations: 46.93 MB / 362.3 MB, free: 4.188 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") [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.00236/0.00236, allocations: 83.84 kB / 0.4982 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3309, allocations: 66.09 MB / 0.5628 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003083/0.334, allocations: 1.605 MB / 0.5643 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3351, allocations: 0.5498 MB / 0.5649 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.3352, allocations: 0 / 0.5649 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.3354, allocations: 35.78 kB / 0.5649 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.3356, allocations: 71.69 kB / 0.565 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.3359, allocations: 87.7 kB / 0.565 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.336, allocations: 67.77 kB / 0.5651 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.3361, allocations: 8 kB / 0.5651 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.3362, allocations: 31.91 kB / 0.5651 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.579e-05/0.3363, allocations: 19.86 kB / 0.5652 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3363, allocations: 7.938 kB / 0.5652 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.528e-05/0.3363, allocations: 32 kB / 0.5652 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.3364, allocations: 19.86 kB / 0.5652 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.3364, allocations: 23.8 kB / 0.5652 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3366, allocations: 86.05 kB / 0.5653 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3366, allocations: 0 / 0.5653 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3366, allocations: 0 / 0.5653 GB, free: 1.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3366, allocations: 0 / 0.5653 GB, free: 1.598 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.0004672/0.3371, allocations: 317.8 kB / 0.5656 GB, free: 1.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3371, allocations: 12.03 kB / 0.5656 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.3372, allocations: 8.891 kB / 0.5657 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.3373, allocations: 134.4 kB / 0.5658 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.3373, allocations: 4.312 kB / 0.5658 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.3374, allocations: 4.375 kB / 0.5658 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.3375, allocations: 50.23 kB / 0.5658 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3375, allocations: 192 / 0.5658 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3375, allocations: 7.938 kB / 0.5658 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3375, allocations: 7.984 kB / 0.5659 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.689e-05/0.3376, allocations: 15.98 kB / 0.5659 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.338, allocations: 248 kB / 0.5661 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3382, allocations: 46.44 kB / 0.5661 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.3382, allocations: 16.94 kB / 0.5662 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3382, allocations: 8 kB / 0.5662 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.3383, allocations: 30.56 kB / 0.5662 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3383, allocations: 0 / 0.5662 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005231/0.3388, allocations: 141.4 kB / 0.5663 GB, free: 444 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.3388, allocations: 51.41 kB / 0.5664 GB, free: 380 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.339, allocations: 165.8 kB / 0.5665 GB, free: 204 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.339, allocations: 25.7 kB / 0.5666 GB, free: 172 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.3391, allocations: 100.1 kB / 0.5667 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.3391, allocations: 11.86 kB / 0.5667 GB, free: 56 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.3391, allocations: 21.7 kB / 0.5667 GB, free: 28 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3393, allocations: 322.8 kB / 0.567 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-05/0.3394, allocations: 19.98 kB / 0.567 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.3394, allocations: 19.98 kB / 0.567 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.3395, allocations: 52.7 kB / 0.5671 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3395, allocations: 0 / 0.5671 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001833/0.3397, allocations: 85.61 kB / 0.5672 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3397, allocations: 4 kB / 0.5672 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3397, allocations: 4.25 kB / 0.5672 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3398, allocations: 0 / 0.5672 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.3398, allocations: 16 kB / 0.5672 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3398, allocations: 7.922 kB / 0.5672 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.864e-05/0.3399, allocations: 4 kB / 0.5672 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.3399, allocations: 0 / 0.5672 GB, free: 15.48 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.0001097/0.34, allocations: 129.7 kB / 0.5673 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.34, allocations: 7.953 kB / 0.5673 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3403, allocations: 98.03 kB / 0.5674 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3403, allocations: 4 kB / 0.5674 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3403, allocations: 0 / 0.5674 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3403, allocations: 0 / 0.5674 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.3407, allocations: 321.5 kB / 0.5677 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3407, allocations: 0 / 0.5677 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/0.3408, allocations: 11.98 kB / 0.5678 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3408, allocations: 0 / 0.5678 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3408, allocations: 4 kB / 0.5678 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3408, allocations: 11.94 kB / 0.5678 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3408, allocations: 0 / 0.5678 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.341, allocations: 175.5 kB / 0.5679 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.341, allocations: 7.891 kB / 0.5679 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.341, allocations: 4 kB / 0.5679 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.3411, allocations: 7.922 kB / 0.568 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3411, allocations: 4 kB / 0.568 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3411, allocations: 4.188 kB / 0.568 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.3412, allocations: 126.2 kB / 0.5681 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3412, allocations: 0 / 0.5681 GB, free: 14.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.3415, allocations: 23.94 kB / 0.5681 GB, free: 14.47 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.001442/0.3429, allocations: 391.7 kB / 0.5685 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.3431, allocations: 47.95 kB / 0.5685 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3431, allocations: 4 kB / 0.5685 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.29e-05/0.3432, allocations: 27.92 kB / 0.5686 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.3435, allocations: 19.91 kB / 0.5686 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.344, allocations: 219.8 kB / 0.5688 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3443, allocations: 0.6924 MB / 0.5695 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.3444, allocations: 19.42 kB / 0.5695 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3444, allocations: 0 / 0.5695 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Templates: time 0.003419/0.3478, allocations: 1.45 MB / 0.5709 GB, free: 11.69 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.678446485893801]