Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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.005121/0.005121, allocations: 109.7 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.001349/0.001349, allocations: 220.6 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.411/1.411, allocations: 230.5 MB / 258.9 MB, free: 8.004 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.2336/0.2336, allocations: 46.93 MB / 362.3 MB, free: 4.211 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [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: 79.88 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.315, allocations: 66.08 MB / 0.5627 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003077/0.3181, allocations: 1.62 MB / 0.5643 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3191, allocations: 0.5459 MB / 0.5649 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.3192, allocations: 0 / 0.5649 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.3193, allocations: 27.8 kB / 0.5649 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.3196, allocations: 75.61 kB / 0.565 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.3199, allocations: 91.75 kB / 0.565 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.3201, allocations: 63.78 kB / 0.5651 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3202, allocations: 11.98 kB / 0.5651 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.881e-05/0.3202, allocations: 27.88 kB / 0.5651 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.3203, allocations: 23.84 kB / 0.5652 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.3203, allocations: 4 kB / 0.5652 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.249e-05/0.3204, allocations: 31.98 kB / 0.5652 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.3205, allocations: 15.92 kB / 0.5652 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.3205, allocations: 23.81 kB / 0.5652 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.3207, allocations: 82.05 kB / 0.5653 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3207, allocations: 0 / 0.5653 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3207, allocations: 0 / 0.5653 GB, free: 1.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3207, allocations: 0 / 0.5653 GB, free: 1.625 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.0005232/0.3213, allocations: 317.8 kB / 0.5656 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3213, allocations: 8.031 kB / 0.5656 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.3213, allocations: 8.891 kB / 0.5656 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.3215, allocations: 130.4 kB / 0.5658 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3215, allocations: 4.375 kB / 0.5658 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.3216, allocations: 384 / 0.5658 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.3217, allocations: 54.23 kB / 0.5658 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3217, allocations: 192 / 0.5658 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3217, allocations: 7.875 kB / 0.5658 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3217, allocations: 4 kB / 0.5658 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.3218, allocations: 23.92 kB / 0.5659 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.3222, allocations: 248 kB / 0.5661 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.3224, allocations: 42.5 kB / 0.5661 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.3224, allocations: 20.94 kB / 0.5662 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3224, allocations: 4 kB / 0.5662 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.3225, allocations: 30.56 kB / 0.5662 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3225, allocations: 3.938 kB / 0.5662 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005349/0.323, allocations: 137.5 kB / 0.5663 GB, free: 480 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.323, allocations: 55.39 kB / 0.5664 GB, free: 412 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3232, allocations: 160.5 kB / 0.5665 GB, free: 240 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3232, allocations: 25.7 kB / 0.5665 GB, free: 208 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.3233, allocations: 96.12 kB / 0.5666 GB, free: 108 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.3233, allocations: 19.8 kB / 0.5667 GB, free: 88 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.3233, allocations: 17.72 kB / 0.5667 GB, free: 64 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3235, allocations: 322.8 kB / 0.567 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.3236, allocations: 19.98 kB / 0.567 GB, free: 15.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.3236, allocations: 15.98 kB / 0.567 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.3238, allocations: 56.77 kB / 0.5671 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3238, allocations: 0 / 0.5671 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001737/0.3239, allocations: 77.62 kB / 0.5671 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3239, allocations: 4 kB / 0.5672 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3239, allocations: 0 / 0.5672 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.324, allocations: 3.938 kB / 0.5672 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.324, allocations: 15.98 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.324, allocations: 4 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.3241, allocations: 7.984 kB / 0.5672 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.3241, allocations: 0 / 0.5672 GB, free: 15.53 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 8.835e-05/0.3242, allocations: 117.8 kB / 0.5673 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.3242, allocations: 7.953 kB / 0.5673 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.3244, allocations: 90.06 kB / 0.5674 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3244, allocations: 0 / 0.5674 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3244, allocations: 4 kB / 0.5674 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3245, allocations: 11.92 kB / 0.5674 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.3249, allocations: 317.8 kB / 0.5677 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3249, allocations: 4.062 kB / 0.5677 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.3249, allocations: 11.98 kB / 0.5677 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3249, allocations: 0 / 0.5677 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3249, allocations: 0 / 0.5677 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3249, allocations: 4 kB / 0.5677 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3249, allocations: 4 kB / 0.5677 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.3252, allocations: 179.4 kB / 0.5679 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.3252, allocations: 7.938 kB / 0.5679 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3252, allocations: 4 kB / 0.5679 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.18e-05/0.3253, allocations: 0 / 0.5679 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.3253, allocations: 11.92 kB / 0.5679 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3253, allocations: 8 kB / 0.5679 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.561e-05/0.3254, allocations: 111.3 kB / 0.568 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3254, allocations: 0 / 0.568 GB, free: 14.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.3256, allocations: 23.92 kB / 0.5681 GB, free: 14.54 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.001438/0.3271, allocations: 403 kB / 0.5684 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.3273, allocations: 43.91 kB / 0.5685 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3273, allocations: 7.938 kB / 0.5685 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.3273, allocations: 23.98 kB / 0.5685 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3277, allocations: 22.27 kB / 0.5685 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.3281, allocations: 203.9 kB / 0.5687 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3284, allocations: 0.6962 MB / 0.5694 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.3285, allocations: 19.44 kB / 0.5694 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3285, allocations: 0 / 0.5694 GB, free: 13.2 MB / 414.1 MB Notification: Performance of Templates: time 0.003335/0.3318, allocations: 1.419 MB / 0.5708 GB, free: 11.78 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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.629029019968584]