Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.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.006071/0.006071, allocations: 107.5 kB / 21.98 MB, free: 5.219 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.001526/0.001526, allocations: 212.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.439/1.439, 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.2209/0.2209, allocations: 46.94 MB / 362.3 MB, free: 4.184 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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29") [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.002494/0.002494, allocations: 75.88 kB / 0.4982 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3075, allocations: 66.08 MB / 0.5628 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003173/0.3107, allocations: 1.695 MB / 0.5644 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3118, allocations: 0.5692 MB / 0.565 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.3118, allocations: 0 / 0.565 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.3121, allocations: 67.78 kB / 0.565 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.3124, allocations: 111.6 kB / 0.5651 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.3128, allocations: 131.6 kB / 0.5653 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.3129, allocations: 91.75 kB / 0.5654 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.313, allocations: 16.22 kB / 0.5654 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.338e-05/0.3131, allocations: 39.84 kB / 0.5654 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.3132, allocations: 63.73 kB / 0.5655 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3133, allocations: 8 kB / 0.5655 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.3134, allocations: 47.98 kB / 0.5655 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.3134, allocations: 23.92 kB / 0.5655 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.3135, allocations: 43.66 kB / 0.5656 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.3137, allocations: 117.9 kB / 0.5657 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3137, allocations: 0 / 0.5657 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3137, allocations: 0 / 0.5657 GB, free: 1.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3137, allocations: 0 / 0.5657 GB, free: 1.207 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.0005651/0.3143, allocations: 357.5 kB / 0.566 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3143, allocations: 12.03 kB / 0.5661 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.3144, allocations: 12.88 kB / 0.5661 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3146, allocations: 143 kB / 0.5662 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3146, allocations: 8.375 kB / 0.5662 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.3146, allocations: 4.375 kB / 0.5662 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3148, allocations: 62.17 kB / 0.5663 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3148, allocations: 192 / 0.5663 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3148, allocations: 3.938 kB / 0.5663 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3148, allocations: 7.938 kB / 0.5663 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.315, allocations: 43.95 kB / 0.5663 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.3154, allocations: 287.7 kB / 0.5666 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.3156, allocations: 50.56 kB / 0.5666 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.3157, allocations: 20.97 kB / 0.5667 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3157, allocations: 11.98 kB / 0.5667 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3158, allocations: 30.56 kB / 0.5667 GB, free: 48 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.3158, allocations: 0 / 0.5667 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001439/0.3172, allocations: 393.5 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3173, allocations: 67.33 kB / 0.5671 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.3175, allocations: 210.2 kB / 0.5673 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3175, allocations: 29.7 kB / 0.5674 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.3176, allocations: 108.1 kB / 0.5675 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.3176, allocations: 39.69 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.3177, allocations: 21.72 kB / 0.5675 GB, free: 15.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3178, allocations: 326.8 kB / 0.5679 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.318, allocations: 43.97 kB / 0.5679 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3181, allocations: 43.95 kB / 0.5679 GB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.3183, allocations: 96.81 kB / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3183, allocations: 0 / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003391/0.3187, allocations: 149.4 kB / 0.5682 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3187, allocations: 10.48 kB / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3187, allocations: 0 / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3187, allocations: 4 kB / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3188, allocations: 27.98 kB / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3189, allocations: 0 / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.3189, allocations: 11.92 kB / 0.5682 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3189, allocations: 4 kB / 0.5682 GB, free: 14.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 (11): * Single equations (assignments): 11 * 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.000121/0.319, allocations: 133.8 kB / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.3191, allocations: 11.91 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.3195, allocations: 171.3 kB / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3195, allocations: 0 / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3195, allocations: 0 / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3195, allocations: 3.938 kB / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/0.3202, allocations: 443.1 kB / 0.569 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3202, allocations: 4.094 kB / 0.569 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.3203, allocations: 35.86 kB / 0.569 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3203, allocations: 0 / 0.569 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3203, allocations: 8.062 kB / 0.569 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3203, allocations: 0 / 0.569 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3203, allocations: 0 / 0.569 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.3207, allocations: 257.1 kB / 0.5692 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.3207, allocations: 19.84 kB / 0.5693 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.3208, allocations: 4.125 kB / 0.5693 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.3209, allocations: 15.98 kB / 0.5693 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.3209, allocations: 11.98 kB / 0.5693 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.3209, allocations: 4 kB / 0.5693 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.3211, allocations: 164.2 kB / 0.5695 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3211, allocations: 0 / 0.5695 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3213, allocations: 27.94 kB / 0.5695 GB, free: 13.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00171/0.323, allocations: 468.2 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003562/0.3234, allocations: 111.8 kB / 0.57 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3234, allocations: 0 / 0.57 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.3236, allocations: 51.91 kB / 0.5701 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.0003893/0.3239, allocations: 27.91 kB / 0.5701 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.3246, allocations: 330.5 kB / 0.5704 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.325, allocations: 0.708 MB / 0.5711 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.325, allocations: 15.44 kB / 0.5711 GB, free: 11.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.325, allocations: 0 / 0.5711 GB, free: 11.45 MB / 414.1 MB Notification: Performance of Templates: time 0.004012/0.329, allocations: 1.978 MB / 0.5731 GB, free: 9.469 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.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.702378283021972]