Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 44.91 MB / 359.6 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 67.89 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3141, allocations: 65.48 MB / 0.5583 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003334/0.3175, allocations: 1.633 MB / 0.5599 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3186, allocations: 0.566 MB / 0.5604 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.3187, allocations: 3.938 kB / 0.5604 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.319, allocations: 71.78 kB / 0.5605 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.3193, allocations: 99.59 kB / 0.5606 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.3197, allocations: 111.7 kB / 0.5607 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.3199, allocations: 87.73 kB / 0.5608 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.32, allocations: 11.66 kB / 0.5608 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.52e-05/0.3201, allocations: 47.83 kB / 0.5608 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3202, allocations: 43.84 kB / 0.5609 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3202, allocations: 7.984 kB / 0.5609 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3203, allocations: 43.92 kB / 0.5609 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.3204, allocations: 19.92 kB / 0.5609 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.3204, allocations: 35.8 kB / 0.561 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.3206, allocations: 102.2 kB / 0.5611 GB, free: 4.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3206, allocations: 0 / 0.5611 GB, free: 4.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3206, allocations: 0 / 0.5611 GB, free: 4.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3207, allocations: 7.875 kB / 0.5611 GB, free: 4.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005095/0.3212, allocations: 341.6 kB / 0.5614 GB, free: 4.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3212, allocations: 12.03 kB / 0.5614 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.3212, allocations: 12.84 kB / 0.5614 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3214, allocations: 142.3 kB / 0.5616 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3215, allocations: 384 / 0.5616 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.3215, allocations: 4.375 kB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3217, allocations: 57.8 kB / 0.5616 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3217, allocations: 0 / 0.5616 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3217, allocations: 0 / 0.5616 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3217, allocations: 4 kB / 0.5616 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3218, allocations: 39.91 kB / 0.5617 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.3222, allocations: 267.8 kB / 0.5619 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.3223, allocations: 50.5 kB / 0.562 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.3224, allocations: 16.94 kB / 0.562 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3224, allocations: 4 kB / 0.562 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.3224, allocations: 42.5 kB / 0.562 GB, free: 3.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.3224, allocations: 0 / 0.562 GB, free: 3.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009233/0.3234, allocations: 237.5 kB / 0.5623 GB, free: 3.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.3234, allocations: 59.39 kB / 0.5623 GB, free: 3.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.3236, allocations: 203.2 kB / 0.5625 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3237, allocations: 25.7 kB / 0.5625 GB, free: 3.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.3237, allocations: 108.1 kB / 0.5626 GB, free: 3.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.3238, allocations: 27.73 kB / 0.5627 GB, free: 3.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.3238, allocations: 17.72 kB / 0.5627 GB, free: 2.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.324, allocations: 326.8 kB / 0.563 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.3241, allocations: 35.97 kB / 0.563 GB, free: 2.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.3241, allocations: 27.98 kB / 0.5631 GB, free: 2.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3243, allocations: 84.81 kB / 0.5631 GB, free: 2.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3243, allocations: 0 / 0.5631 GB, free: 2.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002454/0.3246, allocations: 109.6 kB / 0.5632 GB, free: 2.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3246, allocations: 4 kB / 0.5632 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3246, allocations: 4 kB / 0.5632 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3246, allocations: 0 / 0.5632 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3247, allocations: 19.98 kB / 0.5633 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3247, allocations: 0 / 0.5633 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.3248, allocations: 11.92 kB / 0.5633 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-06/0.3248, allocations: 0 / 0.5633 GB, free: 2.363 MB / 398.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 0.0001158/0.3249, allocations: 133.8 kB / 0.5634 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3249, allocations: 11.91 kB / 0.5634 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.3252, allocations: 127.4 kB / 0.5635 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3252, allocations: 0 / 0.5635 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3252, allocations: 3.938 kB / 0.5635 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3252, allocations: 3.938 kB / 0.5635 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.3258, allocations: 390.4 kB / 0.5639 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3259, allocations: 0 / 0.5639 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.538e-05/0.3259, allocations: 27.95 kB / 0.5639 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3259, allocations: 11.88 kB / 0.564 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.326, allocations: 0 / 0.564 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.326, allocations: 0 / 0.564 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.326, allocations: 4 kB / 0.564 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.3263, allocations: 216.2 kB / 0.5642 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.3263, allocations: 11.89 kB / 0.5642 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3263, allocations: 4 kB / 0.5642 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.3264, allocations: 4 kB / 0.5642 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.3264, allocations: 7.984 kB / 0.5642 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3264, allocations: 7.938 kB / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3266, allocations: 153.8 kB / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3266, allocations: 0 / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.3268, allocations: 27.92 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001729/0.3286, allocations: 459.6 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.3288, allocations: 67.94 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3288, allocations: 11.94 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/0.3289, allocations: 35.92 kB / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.3293, allocations: 23.92 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.3299, allocations: 284.9 kB / 0.5652 GB, free: 436 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.3303, allocations: 0.7158 MB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.3304, allocations: 15.38 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3304, allocations: 0 / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Templates: time 0.004092/0.3345, allocations: 1.793 MB / 0.5677 GB, free: 13.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.907564119901508]