Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001349/0.001349, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001538/0.001538, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.45/1.45, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2328/0.2328, allocations: 46.89 MB / 361.1 MB, free: 4.656 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18") [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.002432/0.002432, allocations: 80.16 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3134, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.00322/0.3166, allocations: 1.636 MB / 0.5628 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3186, allocations: 1.274 MB / 0.5641 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.3187, allocations: 4 kB / 0.5641 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.3189, allocations: 23.86 kB / 0.5641 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.3192, allocations: 87.55 kB / 0.5642 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.3195, allocations: 111.7 kB / 0.5643 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.3197, allocations: 83.8 kB / 0.5644 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3198, allocations: 10.67 kB / 0.5644 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.3199, allocations: 31.86 kB / 0.5644 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.32, allocations: 39.83 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3201, allocations: 4 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.3202, allocations: 107.9 kB / 0.5645 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.3203, allocations: 15.94 kB / 0.5646 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.3203, allocations: 27.8 kB / 0.5646 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.3206, allocations: 159.4 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3206, allocations: 0 / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3206, allocations: 0 / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3206, allocations: 3.984 kB / 0.5647 GB, free: 1.41 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.0005638/0.3212, allocations: 418.7 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3212, allocations: 8.031 kB / 0.5651 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.3213, allocations: 12.89 kB / 0.5652 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3215, allocations: 198.5 kB / 0.5653 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3215, allocations: 4.375 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.3215, allocations: 4.375 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3217, allocations: 79.89 kB / 0.5654 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3217, allocations: 4.141 kB / 0.5654 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3217, allocations: 3.938 kB / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3217, allocations: 0 / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3219, allocations: 43.97 kB / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.3223, allocations: 312.7 kB / 0.5658 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3225, allocations: 46.56 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.3225, allocations: 24.97 kB / 0.5658 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.3226, allocations: 0 / 0.5658 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.3226, allocations: 38.59 kB / 0.5659 GB, free: 68 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.3226, allocations: 0 / 0.5659 GB, free: 68 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007473/0.3233, allocations: 197.3 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.3234, allocations: 81.11 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.3236, allocations: 161.5 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.3236, allocations: 29.7 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.3237, allocations: 100.1 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.3237, allocations: 27.75 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.3238, allocations: 21.7 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3239, allocations: 322.8 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-05/0.324, allocations: 35.91 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3241, allocations: 49.69 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.3243, allocations: 64.83 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3243, allocations: 0 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002541/0.3246, allocations: 109.5 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3246, allocations: 8 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3246, allocations: 0 / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3246, allocations: 0 / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3247, allocations: 15.98 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3247, allocations: 8.406 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.3248, allocations: 7.984 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3248, allocations: 7.938 kB / 0.5671 GB, free: 14.77 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 (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.0001652/0.3249, allocations: 113.8 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.325, allocations: 19.89 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.3253, allocations: 134.6 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3253, allocations: 4 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3253, allocations: 0 / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.3253, allocations: 0 / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.3259, allocations: 410.4 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3259, allocations: 0 / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.731e-05/0.326, allocations: 15.98 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.326, allocations: 0 / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.326, allocations: 7.938 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.326, allocations: 0 / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.326, allocations: 4 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.3263, allocations: 203.5 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.3264, allocations: 85.06 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3264, allocations: 3.938 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.3265, allocations: 11.98 kB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.3265, allocations: 7.938 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3265, allocations: 4 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3266, allocations: 117.8 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3266, allocations: 3.938 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.3269, allocations: 47.86 kB / 0.5682 GB, free: 13.49 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 (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.00171/0.3286, allocations: 490.9 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.329, allocations: 75.94 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.329, allocations: 0 / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3291, allocations: 43.86 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.3294, allocations: 23.11 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.3299, allocations: 201.9 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.3303, allocations: 0.7002 MB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.136e-05/0.3304, allocations: 20.97 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.3304, allocations: 19.44 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3304, allocations: 0 / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of Templates: time 0.005371/0.3358, allocations: 1.889 MB / 0.5716 GB, free: 10.17 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 4.96971796406433]